diff --git a/src/com/android/settings/notification/NotificationLockscreenPreference.java b/src/com/android/settings/notification/NotificationLockscreenPreference.java index 60f451f3767..969aed15ca2 100644 --- a/src/com/android/settings/notification/NotificationLockscreenPreference.java +++ b/src/com/android/settings/notification/NotificationLockscreenPreference.java @@ -85,7 +85,7 @@ public class NotificationLockscreenPreference extends RestrictedListPreference { } private static int checkboxVisibilityForSelectedIndex(int selected, boolean showRemoteAtAll) { - return selected == 0 && showRemoteAtAll ? View.VISIBLE : View.GONE; + return selected == 1 && showRemoteAtAll ? View.VISIBLE : View.GONE; } private class Listener implements DialogInterface.OnClickListener,