mirror of https://github.com/M66B/NetGuard.git
Allow all when no connection
This commit is contained in:
parent
2ba3f8e0d8
commit
c456948827
|
@ -1137,6 +1137,8 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS
|
||||||
if ((!blocked || (screen && last_interactive)) && (!metered || !(rule.roaming && roaming)))
|
if ((!blocked || (screen && last_interactive)) && (!metered || !(rule.roaming && roaming)))
|
||||||
listAllowed.add(rule);
|
listAllowed.add(rule);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
listAllowed.addAll(listRule);
|
||||||
|
|
||||||
Log.i(TAG, "Allowed " + listAllowed.size() + " of " + listRule.size());
|
Log.i(TAG, "Allowed " + listAllowed.size() + " of " + listRule.size());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue