commit | 20f53b7cbb381778d95b5aa856510d19f7a782de | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Wed Mar 02 11:55:45 2016 -0800 |
committer | Adrian Roos <roosa@google.com> | Wed Mar 02 11:55:49 2016 -0800 |
tree | e64da9fe557f27184b349e4a7a213cdb6e187ffe | |
parent | 4ad57ab15915526908a32e6b2747d05c5dc2cb10 [diff] |
Fix NotificationLockscreenPreference Show remote input on lockscreen checkbox when showing all notification content. Bug: 26440855 Change-Id: I90475d4c39797858b2dc8cdefab5bca6bb63daef
diff --git a/src/com/android/settings/notification/NotificationLockscreenPreference.java b/src/com/android/settings/notification/NotificationLockscreenPreference.java index 60f451f..969aed1 100644 --- a/src/com/android/settings/notification/NotificationLockscreenPreference.java +++ b/src/com/android/settings/notification/NotificationLockscreenPreference.java
@@ -85,7 +85,7 @@ } 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,