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:
parent
cfb0a9987a
commit
7318c58f2f
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue