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

Commit 454a0dbf authored by Chia-chi Yeh's avatar Chia-chi Yeh
Browse files

SecuritySettings: revert "minor tuning".

parent f764d20a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -419,9 +419,7 @@ public class SecuritySettings extends PreferenceActivity {

        public boolean onPreferenceChange(Preference preference, Object value) {
            if (preference == mAccessCheckBox) {
                boolean checked = (Boolean) value;
                mAccessCheckBox.setChecked(!checked);
                if (checked) {
                if ((Boolean) value) {
                    showDialog((mState == KeyStore.UNINITIALIZED) ?
                            PASSWORD_DIALOG : UNLOCK_DIALOG);
                } else {
@@ -461,6 +459,7 @@ public class SecuritySettings extends PreferenceActivity {
                }
            }
            removeDialog(mDialogId);
            updatePreferences(mState);
            if (mExternalIntent != null) {
                mExternalIntent = null;
                finish();