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 {
|
} else {
|
||||||
removeDialog(mDialogId);
|
removeDialog(mDialogId);
|
||||||
|
|
||||||
|
if (mDialogId == CSTOR_UNLOCK_DIALOG) {
|
||||||
|
mAccessCheckBox.setChecked(isCstorUnlocked());
|
||||||
|
}
|
||||||
|
|
||||||
if (mCstorAddCredentialHelper != null) {
|
if (mCstorAddCredentialHelper != null) {
|
||||||
if (!isCstorInitialized()) {
|
if (!isCstorInitialized()) {
|
||||||
showDialog(CSTOR_INIT_DIALOG);
|
showDialog(CSTOR_INIT_DIALOG);
|
||||||
|
Reference in New Issue
Block a user