Add CredentialInstaller.

This commit is contained in:
Hung-ying Tyan
2009-09-28 10:14:18 +08:00
parent a38a1a77ab
commit 70cef693d1
4 changed files with 85 additions and 10 deletions

View File

@@ -380,9 +380,6 @@ public class SecuritySettings extends PreferenceActivity {
mExternalIntent = intent;
showCstorDialog(mState == KeyStore.UNINITIALIZED
? CSTOR_INIT_DIALOG : CSTOR_UNLOCK_DIALOG);
} else if (Credentials.SYSTEM_INSTALL_ACTION.equals(action)) {
mExternalIntent = intent;
// TODO: unlock and install.
}
}
@@ -460,12 +457,7 @@ public class SecuritySettings extends PreferenceActivity {
removeDialog(mDialogId);
if (mExternalIntent != null) {
if (Credentials.SYSTEM_INSTALL_ACTION.equals(
mExternalIntent.getAction())) {
// TODO: install if unlocked.
} else {
finish();
}
finish();
}
}
}