Merge "Fix NotificationLockscreenPreference" into nyc-dev

am: e37d209029

* commit 'e37d20902909b5fb6a11e743cc4c5b3cf630aa24':
  Fix NotificationLockscreenPreference
This commit is contained in:
Adrian Roos
2016-03-03 21:59:44 +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,