1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-26 09:48:46 +00:00

Added logging

This commit is contained in:
M66B 2016-02-17 09:14:08 +01:00
parent 5eea96737d
commit 2ea05570da

View file

@ -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
}