Fix NotificationLockscreenPreference
Show remote input on lockscreen checkbox when showing all notification content. Bug: 26440855 Change-Id: I90475d4c39797858b2dc8cdefab5bca6bb63daef
This commit is contained in:
@@ -85,7 +85,7 @@ public class NotificationLockscreenPreference extends RestrictedListPreference {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static int checkboxVisibilityForSelectedIndex(int selected, boolean showRemoteAtAll) {
|
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,
|
private class Listener implements DialogInterface.OnClickListener,
|
||||||
|
Reference in New Issue
Block a user