1
0
Fork 0
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:
M66B 2016-02-12 21:18:42 +01:00
parent 2ba3f8e0d8
commit c456948827

View file

@ -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());