mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 18:41:20 +01:00
Limit network workaround to Android 6 and earlier
This commit is contained in:
@@ -266,7 +266,8 @@ public class ConnectionHelper {
|
||||
}
|
||||
} else {
|
||||
// Workaround: active network = VPN, active network info = WiFi
|
||||
if (network.equals(active) && !cm.isActiveNetworkMetered())
|
||||
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.M &&
|
||||
network.equals(active) && !cm.isActiveNetworkMetered())
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user