Merge "Fix NotificationLockscreenPreference" into nyc-dev am: e37d209029

am: b5ea88236d

* commit 'b5ea88236d78ac37b49ea7445aefc08d0c601727':
  Fix NotificationLockscreenPreference
This commit is contained in:
Adrian Roos
2016-03-03 23:08:52 +00:00
committed by android-build-merger

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,