Fix NotificationLockscreenPreference

Show remote input on lockscreen checkbox
when showing all notification content.

Bug: 26440855
Change-Id: I90475d4c39797858b2dc8cdefab5bca6bb63daef
This commit is contained in:
Adrian Roos
2016-03-02 11:55:45 -08:00
parent 4ad57ab159
commit 20f53b7cbb

View File

@@ -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,