Support VPN-only networks

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

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

Loading…
Cancel
Save