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

Commit c3eaaad1 authored by Hung-ying Tyan's avatar Hung-ying Tyan
Browse files

Fix "use secure credential" checkbox in Settings.

Uncheck the checkbox if the user cancels the password-entering dialog.
parent 599221c7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -567,6 +567,10 @@ public class SecuritySettings extends PreferenceActivity implements
            } else {
                removeDialog(mDialogId);

                if (mDialogId == CSTOR_UNLOCK_DIALOG) {
                    mAccessCheckBox.setChecked(isCstorUnlocked());
                }

                if (mCstorAddCredentialHelper != null) {
                    if (!isCstorInitialized()) {
                        showDialog(CSTOR_INIT_DIALOG);