1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-30 20:05:04 +00:00

Home network is never metered

This commit is contained in:
M66B 2015-12-10 19:05:45 +01:00
parent 6f80050a39
commit 1d6437b1f3

View file

@ -426,6 +426,8 @@ public class SinkholeService extends VpnService {
metered = false;
if (wifi && ssidHomes.size() > 0 && !ssidHomes.contains(ssidNetwork))
metered = true;
if (wifi && ssidHomes.size() > 0 && ssidHomes.contains(ssidNetwork))
metered = false;
if (unmetered_2g && "2G".equals(generation))
metered = false;
if (unmetered_3g && "3G".equals(generation))