summaryrefslogtreecommitdiff
path: root/app/src/main/java/se
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2020-01-31 11:21:58 -0600
committercyberta <cyberta@riseup.net>2020-01-31 11:21:58 -0600
commitd1ced827e19a344cedb84c1aaa530fd613accfec (patch)
tree0fa01eb1590a07783c33adbed6262c184947d2bc /app/src/main/java/se
parente8b11d68870ed59663541c039418cdca30c6408c (diff)
adapt method visibility in TetheringStateManager
Diffstat (limited to 'app/src/main/java/se')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/tethering/TetheringStateManager.java3
1 files changed, 1 insertions, 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";