diff options
-rw-r--r-- | OpenPGP-Keychain-API-Demo/src/org/sufficientlysecure/keychain/demo/CryptoProviderDemoActivity.java | 5 | ||||
-rw-r--r-- | OpenPGP-Keychain/AndroidManifest.xml | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/OpenPGP-Keychain-API-Demo/src/org/sufficientlysecure/keychain/demo/CryptoProviderDemoActivity.java b/OpenPGP-Keychain-API-Demo/src/org/sufficientlysecure/keychain/demo/CryptoProviderDemoActivity.java index 03668fcab..4522110f0 100644 --- a/OpenPGP-Keychain-API-Demo/src/org/sufficientlysecure/keychain/demo/CryptoProviderDemoActivity.java +++ b/OpenPGP-Keychain-API-Demo/src/org/sufficientlysecure/keychain/demo/CryptoProviderDemoActivity.java @@ -23,6 +23,7 @@ import org.openintents.crypto.CryptoError; import org.openintents.crypto.CryptoServiceConnection; import org.openintents.crypto.CryptoSignatureResult; import org.openintents.crypto.ICryptoCallback; +import org.openintents.crypto.ICryptoService; import org.sufficientlysecure.keychain.demo.R; import org.sufficientlysecure.keychain.integration.Constants; @@ -50,8 +51,6 @@ public class CryptoProviderDemoActivity extends Activity { private CryptoServiceConnection mCryptoServiceConnection; - private static final String CRYPTO_SERVICE_INTENT = "org.openintents.crypto.ICryptoService"; - @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); @@ -142,7 +141,7 @@ public class CryptoProviderDemoActivity extends Activity { } private void selectCryptoProvider() { - Intent intent = new Intent(CRYPTO_SERVICE_INTENT); + Intent intent = new Intent(ICryptoService.class.getName()); final ArrayList<CryptoProviderElement> providerList = new ArrayList<CryptoProviderElement>(); diff --git a/OpenPGP-Keychain/AndroidManifest.xml b/OpenPGP-Keychain/AndroidManifest.xml index 7796f4446..0f80604ef 100644 --- a/OpenPGP-Keychain/AndroidManifest.xml +++ b/OpenPGP-Keychain/AndroidManifest.xml @@ -459,7 +459,7 @@ <!-- Crypto Provider internal intents --> <activity - android:name=".crypto_provider.CryptoActivity" + android:name=".crypto_provider.ServiceActivity" android:exported="false" android:label="TODO crypto activity" android:process=":crypto" > |