diff options
Diffstat (limited to 'OpenPGP-Keychain-API-Demo')
-rw-r--r-- | OpenPGP-Keychain-API-Demo/src/org/sufficientlysecure/keychain/demo/CryptoProviderDemoActivity.java | 5 |
1 files changed, 2 insertions, 3 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>(); |