From 1b29330f18e2026d15fc6f28ac34624c4abd4b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Mon, 17 Jun 2013 16:17:59 +0200 Subject: Fix activity manifest entry --- .../sufficientlysecure/keychain/demo/CryptoProviderDemoActivity.java | 5 ++--- 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 providerList = new ArrayList(); 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 @@ -- cgit v1.2.3