mirror of https://github.com/M66B/FairEmail.git
Limit network workaround to Android 6 and earlier
This commit is contained in:
parent
829c417cf1
commit
a7124bfb93
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue