Fixed filtering enabled by default on Android 5.1

Closes #338
This commit is contained in:
M66B 2016-02-20 16:32:50 +01:00
parent a07677b0a2
commit da25a91e61
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ public class Receiver extends BroadcastReceiver {
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) {
if (Build.VERSION.SDK_INT == Build.VERSION_CODES.LOLLIPOP) {
editor.putBoolean("filter", true); // Optional
editor.putBoolean("filter_allowed", true); // Optional
}