mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-26 09:48:46 +00:00
Added logging
This commit is contained in:
parent
5eea96737d
commit
2ea05570da
1 changed files with 2 additions and 0 deletions
|
@ -221,6 +221,7 @@ public class Receiver extends BroadcastReceiver {
|
|||
// TODO: delete unused
|
||||
}
|
||||
} else {
|
||||
Log.i(TAG, "Initializing sdk=" + Build.VERSION.SDK_INT);
|
||||
editor.putBoolean("whitelist_wifi", false);
|
||||
editor.putBoolean("whitelist_other", false);
|
||||
if (Build.VERSION.SDK_INT == Build.VERSION_CODES.LOLLIPOP_MR1) {
|
||||
|
@ -230,6 +231,7 @@ public class Receiver extends BroadcastReceiver {
|
|||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
|
||||
Log.i(TAG, "Forcing filter mode sdk=" + Build.VERSION.SDK_INT);
|
||||
editor.putBoolean("filter", true); // Mandatory
|
||||
editor.putBoolean("filter_allowed", true); // Mandatory
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue