VPN without underlying network

pull/190/head
M66B 4 years ago
parent fe57218095
commit 9f91feaae2

@ -325,12 +325,8 @@ public class ConnectionHelper {
}
}
if (!underlying) {
// VPN-only network via USB is possible
boolean metered = cm.isActiveNetworkMetered();
Log.i("isMetered: no underlying network metered=" + metered);
return metered;
}
if (!underlying)
return null;
// Assume metered
Log.i("isMetered: underlying assume metered");

Loading…
Cancel
Save