mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-27 18:30:09 +00:00
parent
a07677b0a2
commit
da25a91e61
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ public class Receiver extends BroadcastReceiver {
|
||||||
Log.i(TAG, "Initializing sdk=" + Build.VERSION.SDK_INT);
|
Log.i(TAG, "Initializing sdk=" + Build.VERSION.SDK_INT);
|
||||||
editor.putBoolean("whitelist_wifi", false);
|
editor.putBoolean("whitelist_wifi", false);
|
||||||
editor.putBoolean("whitelist_other", false);
|
editor.putBoolean("whitelist_other", false);
|
||||||
if (Build.VERSION.SDK_INT == Build.VERSION_CODES.LOLLIPOP_MR1) {
|
if (Build.VERSION.SDK_INT == Build.VERSION_CODES.LOLLIPOP) {
|
||||||
editor.putBoolean("filter", true); // Optional
|
editor.putBoolean("filter", true); // Optional
|
||||||
editor.putBoolean("filter_allowed", true); // Optional
|
editor.putBoolean("filter_allowed", true); // Optional
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue