mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-01 12:54:07 +00:00
parent
9bab61ae3c
commit
c2681c3046
1 changed files with 2 additions and 1 deletions
|
@ -1041,7 +1041,8 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS
|
|||
// Update metered state
|
||||
if (wifi && !useMetered)
|
||||
metered = false;
|
||||
if (wifi && ssidHomes.size() > 0 && !ssidHomes.contains(ssidNetwork)) {
|
||||
if (wifi && ssidHomes.size() > 0 &&
|
||||
!(ssidHomes.contains(ssidNetwork) || ssidHomes.contains('"' + ssidNetwork + '"'))) {
|
||||
metered = true;
|
||||
Log.i(TAG, "!@home");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue