diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-07-25 06:55:05 -0700 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-07-25 06:55:05 -0700 |
commit | d1c1c45421e1297b159f37f9aeae4450824c3102 (patch) | |
tree | 93fac0518a2b4861fea1c07f0b53f7a5462995ab /OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/EditKeyActivity.java | |
parent | 178bd7f4feb56af007e3515703bcacffa25f7b39 (diff) | |
parent | d76efdfe38359e21720af175de59d08998498ac1 (diff) | |
download | open-keychain-d1c1c45421e1297b159f37f9aeae4450824c3102.tar.gz open-keychain-d1c1c45421e1297b159f37f9aeae4450824c3102.tar.bz2 open-keychain-d1c1c45421e1297b159f37f9aeae4450824c3102.zip |
Merge pull request #64 from bcbarnes-gmx/Issue53
Implemented issue #53 - Change intent actions from extra ints to intent actions
Diffstat (limited to 'OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/EditKeyActivity.java')
-rw-r--r-- | OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/EditKeyActivity.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/EditKeyActivity.java b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/EditKeyActivity.java index bc4467967..b710e69cf 100644 --- a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/EditKeyActivity.java +++ b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/EditKeyActivity.java @@ -238,8 +238,7 @@ public class EditKeyActivity extends SherlockFragmentActivity { // Send all information needed to service generate keys in other thread Intent serviceIntent = new Intent(this, KeychainIntentService.class); - serviceIntent.putExtra(KeychainIntentService.EXTRA_ACTION, - KeychainIntentService.ACTION_GENERATE_DEFAULT_RSA_KEYS); + serviceIntent.setAction(KeychainIntentService.ACTION_GENERATE_DEFAULT_RSA_KEYS); // fill values for this action Bundle data = new Bundle(); @@ -438,8 +437,7 @@ public class EditKeyActivity extends SherlockFragmentActivity { // Send all information needed to service to edit key in other thread Intent intent = new Intent(this, KeychainIntentService.class); - intent.putExtra(KeychainIntentService.EXTRA_ACTION, - KeychainIntentService.ACTION_SAVE_KEYRING); + intent.setAction(KeychainIntentService.ACTION_SAVE_KEYRING); // fill values for this action Bundle data = new Bundle(); |