am c3eaaad1: Fix "use secure credential" checkbox in Settings.

Merge commit 'c3eaaad17ebe9a2cbe34b096511c8f06369dadd1'

* commit 'c3eaaad17ebe9a2cbe34b096511c8f06369dadd1':
  Fix "use secure credential" checkbox in Settings.
This commit is contained in:
Hung-ying Tyan
2009-07-16 09:55:11 -07:00
committed by Android Git Automerger

View File

@@ -579,6 +579,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);