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:
parent
fe57218095
commit
9f91feaae2
1 changed files with 2 additions and 6 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue