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