diff options
Diffstat (limited to 'src/com/android/settings/profiles/actions/item/LockModeItem.java')
-rw-r--r-- | src/com/android/settings/profiles/actions/item/LockModeItem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/profiles/actions/item/LockModeItem.java b/src/com/android/settings/profiles/actions/item/LockModeItem.java index 5c27de2..e89bcc8 100644 --- a/src/com/android/settings/profiles/actions/item/LockModeItem.java +++ b/src/com/android/settings/profiles/actions/item/LockModeItem.java @@ -62,7 +62,7 @@ public class LockModeItem implements Item { } public static int getSummaryString(Profile profile) { - switch (profile.getScreenLockMode()) { + switch (profile.getScreenLockMode().getValue()) { case Profile.LockMode.DEFAULT: return R.string.profile_lockmode_default_summary; case Profile.LockMode.DISABLE: |