Support VPN-only networks

pull/178/head
M66B 5 years ago
parent bd53c05417
commit ee80a62455

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

Loading…
Cancel
Save