Workaround for Android network bug

Android 6.0 Huawei Che2-L11
pull/176/head
M66B 5 years ago
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…
Cancel
Save