diff options
| -rw-r--r-- | src/com/android/settings/SecuritySettings.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/SecuritySettings.java b/src/com/android/settings/SecuritySettings.java index 9305f0a5a..0fd5d2ce2 100644 --- a/src/com/android/settings/SecuritySettings.java +++ b/src/com/android/settings/SecuritySettings.java @@ -364,7 +364,7 @@ public class SecuritySettings extends SettingsPreferenceFragment // only show blur setting for devices that support it boolean blurSupported = getResources().getBoolean( com.android.internal.R.bool.config_ui_blur_enabled); - if (!blurSupported) { + if (!blurSupported && generalCategory != null) { Preference blurEnabledPref = generalCategory.findPreference(KEY_LOCK_SCREEN_BLUR); if (blurEnabledPref != null) generalCategory.removePreference(blurEnabledPref); } |
