diff --git a/src/com/android/settings/SecuritySettings.java b/src/com/android/settings/SecuritySettings.java index e0022649484..e4dcea1db7c 100644 --- a/src/com/android/settings/SecuritySettings.java +++ b/src/com/android/settings/SecuritySettings.java @@ -245,7 +245,8 @@ public class SecuritySettings extends RestrictedSettingsFragment // Enable or disable keyguard widget checkbox based on DPM state mEnableKeyguardWidgets = (CheckBoxPreference) root.findPreference(KEY_ENABLE_WIDGETS); if (mEnableKeyguardWidgets != null) { - if (ActivityManager.isLowRamDeviceStatic()) { + if (ActivityManager.isLowRamDeviceStatic() + || mLockPatternUtils.isLockScreenDisabled()) { // Widgets take a lot of RAM, so disable them on low-memory devices PreferenceGroup securityCategory = (PreferenceGroup) root.findPreference(KEY_SECURITY_CATEGORY);