Merge "Fix NotificationLockscreenPreference" into nyc-dev
diff --git a/src/com/android/settings/notification/NotificationLockscreenPreference.java b/src/com/android/settings/notification/NotificationLockscreenPreference.java
index 34770da..39b9c5d 100644
--- a/src/com/android/settings/notification/NotificationLockscreenPreference.java
+++ b/src/com/android/settings/notification/NotificationLockscreenPreference.java
@@ -61,7 +61,7 @@
super.onDialogCreated(dialog);
dialog.create();
CheckBox view = (CheckBox) dialog.findViewById(R.id.lockscreen_remote_input);
- view.setChecked(mAllowRemoteInput);
+ view.setChecked(!mAllowRemoteInput);
view.setOnCheckedChangeListener(mListener);
View panel = dialog.findViewById(com.android.internal.R.id.customPanel);
panel.setVisibility(checkboxVisibilityForSelectedIndex(mInitialIndex, mShowRemoteInput));
@@ -112,7 +112,7 @@
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
- mAllowRemoteInput = isChecked;
+ mAllowRemoteInput = !isChecked;
}
public void setView(View view) {