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

Commit c8288494 authored by Ricky Wai's avatar Ricky Wai Committed by android-build-merger
Browse files

Merge "Unified work lock checkbox should roll back when user cancels confirm...

Merge "Unified work lock checkbox should roll back when user cancels confirm dialog" into nyc-dev am: 4f199459
am: 0710a4c9

* commit '0710a4c9':
  Unified work lock checkbox should roll back when user cancels confirm dialog

Change-Id: Ifb3574fc80edb75662baa275b537761c574f6605
parents b1a41697 0710a4c9
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -1282,17 +1282,15 @@ public class SecuritySettings extends SettingsPreferenceFragment
                                }
                            }
                    )
                    .setNegativeButton(R.string.cancel,
                            new DialogInterface.OnClickListener() {
                                @Override
                                public void onClick(DialogInterface dialog, int whichButton) {
                                    parentFragment.updateUnificationPreference();
                                    dismiss();
                                }
                            }
                    )
                    .setNegativeButton(R.string.cancel, null)
                    .create();
        }

        @Override
        public void onDismiss(DialogInterface dialog) {
            super.onDismiss(dialog);
            ((SecuritySettings) getParentFragment()).updateUnificationPreference();
        }
    }

}