summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/SecuritySettings.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/SecuritySettings.java')
-rw-r--r--src/com/android/settings/SecuritySettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/SecuritySettings.java b/src/com/android/settings/SecuritySettings.java
index cc46ba7..6337800 100644
--- a/src/com/android/settings/SecuritySettings.java
+++ b/src/com/android/settings/SecuritySettings.java
@@ -348,7 +348,7 @@ public class SecuritySettings extends SettingsPreferenceFragment
// Add live lock screen preference if supported
PreferenceGroup generalCategory = (PreferenceGroup)
root.findPreference(KEY_GENERAL_CATEGORY);
- if (pm.hasSystemFeature(LIVE_LOCK_SCREEN_FEATURE) && generalCategory != null) {
+ if (pm.hasSystemFeature(LIVE_LOCK_SCREEN_FEATURE) && generalCategory != null && Utils.isUserOwner()) {
boolean moveToTop = getResources().getBoolean(
R.bool.config_showLiveLockScreenSettingsFirst);