Fix "use secure credential" checkbox in Settings.
Uncheck the checkbox if the user cancels the password-entering dialog.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user