Enable cert install from sdcard in Settings...

And remove ADD_CREDENTIAL intent from AndroidManifest.xml.
This commit is contained in:
Hung-ying Tyan
2009-09-15 17:58:57 +08:00
parent dd498f901e
commit 10d3cf5082
2 changed files with 1 additions and 3 deletions

View File

@@ -300,7 +300,6 @@
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SECURITY_SETTINGS" />
<action android:name="android.settings.LOCATION_SOURCE_SETTINGS" />
<action android:name="android.security.ADD_CREDENTIAL" />
<action android:name="android.security.UNLOCK_CREDENTIAL_STORAGE" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.VOICE_LAUNCH" />

View File

@@ -810,8 +810,7 @@ public class SecuritySettings extends PreferenceActivity implements
}
private void installCertFromSdCard() {
// TODO: uncomment this when the feature is ready
//startActivity(new Intent(CertTool.ACTION_INSTALL_CERT_FROM_SDCARD));
startActivity(new Intent(CertTool.ACTION_INSTALL_CERT_FROM_SDCARD));
}
private TextView showError(int messageId) {