Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6d60877 authored by Adrian Roos's avatar Adrian Roos
Browse files

Fix NotificationLockscreenPreference

Remote-Input-on-Lockscreen setting was inverted.

Bug: 27638447
Change-Id: I4ca17854dae7c6a47e4fe22be2e862e96742f457
parent 42734c15
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ public class NotificationLockscreenPreference extends RestrictedListPreference {
        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 @@ public class NotificationLockscreenPreference extends RestrictedListPreference {

        @Override
        public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
            mAllowRemoteInput = isChecked;
            mAllowRemoteInput = !isChecked;
        }

        public void setView(View view) {