mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-01 12:54:07 +00:00
Allow all when no connection
This commit is contained in:
parent
2ba3f8e0d8
commit
c456948827
1 changed files with 2 additions and 0 deletions
|
@ -1137,6 +1137,8 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS
|
|||
if ((!blocked || (screen && last_interactive)) && (!metered || !(rule.roaming && roaming)))
|
||||
listAllowed.add(rule);
|
||||
}
|
||||
else
|
||||
listAllowed.addAll(listRule);
|
||||
|
||||
Log.i(TAG, "Allowed " + listAllowed.size() + " of " + listRule.size());
|
||||
|
||||
|
|
Loading…
Reference in a new issue