mirror of https://github.com/M66B/FairEmail.git
Workaround for Android network bug
Android 6.0 Huawei Che2-L11
This commit is contained in:
parent
fe9ead45e8
commit
2c123b7902
|
@ -264,6 +264,10 @@ public class ConnectionHelper {
|
|||
Log.i("isMetered: underlying is unmetered");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
// Workaround: active network = VPN, active network info = WiFi
|
||||
if (network.equals(active) && !cm.isActiveNetworkMetered())
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue