1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +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) {
// 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");