Merge "Fix NotificationLockscreenPreference" into nyc-dev

This commit is contained in:
Adrian Roos
2016-03-03 20:48:36 +00:00
committed by Android (Google) Code Review

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,