1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-01-03 13:54:09 +00:00

Disable instead of hide filtering on KitKat

This commit is contained in:
M66B 2016-07-23 18:08:20 +02:00
parent cfb0a9987a
commit 7318c58f2f

View file

@ -175,7 +175,7 @@ public class ActivitySettings extends AppCompatActivity implements SharedPrefere
// Filtering always enabled
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP)
cat_advanced.removePreference(screen.findPreference("filter"));
screen.findPreference("filter").setEnabled(false);
Preference pref_reset_usage = screen.findPreference("reset_usage");
pref_reset_usage.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {