1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

VPN without underlying network

This commit is contained in:
M66B 2021-01-03 14:34:21 +01:00
parent fe57218095
commit 9f91feaae2

View file

@ -325,12 +325,8 @@ public class ConnectionHelper {
} }
} }
if (!underlying) { if (!underlying)
// 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
Log.i("isMetered: underlying assume metered"); Log.i("isMetered: underlying assume metered");