From 20f53b7cbb381778d95b5aa856510d19f7a782de Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Wed, 2 Mar 2016 11:55:45 -0800 Subject: [PATCH] Fix NotificationLockscreenPreference Show remote input on lockscreen checkbox when showing all notification content. Bug: 26440855 Change-Id: I90475d4c39797858b2dc8cdefab5bca6bb63daef --- .../settings/notification/NotificationLockscreenPreference.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,