From d1ced827e19a344cedb84c1aaa530fd613accfec Mon Sep 17 00:00:00 2001 From: cyberta Date: Fri, 31 Jan 2020 11:21:58 -0600 Subject: adapt method visibility in TetheringStateManager --- .../java/se/leap/bitmaskclient/tethering/TetheringStateManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/se/leap/bitmaskclient/tethering/TetheringStateManager.java b/app/src/main/java/se/leap/bitmaskclient/tethering/TetheringStateManager.java index 4c6abd5b..d3c934f6 100644 --- a/app/src/main/java/se/leap/bitmaskclient/tethering/TetheringStateManager.java +++ b/app/src/main/java/se/leap/bitmaskclient/tethering/TetheringStateManager.java @@ -131,8 +131,7 @@ public class TetheringStateManager { return getUsbInterface() != null; } - @VisibleForTesting - static String getAddressRange(String interfaceAddress) { + private static String getAddressRange(String interfaceAddress) { if (interfaceAddress.split("\\.").length == 4) { String result = interfaceAddress.substring(0, interfaceAddress.lastIndexOf(".")); result = result + ".0/24"; -- cgit v1.2.3