mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Workaround for Android network bug
Android 6.0 Huawei Che2-L11
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user