diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-03-19 16:36:37 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-03-19 16:36:37 +0100 |
commit | 9a612131fd172c9b8e459e60590295acf87345a8 (patch) | |
tree | 0618e0a98a53238d75cb8e0fc3103e1001dc3e7b /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util | |
parent | 0bcc2793c334ad04d3f7fd9f401eb6ab485f8c39 (diff) | |
parent | 6120365ee1e425acbc270b17c5cad621710777a9 (diff) | |
download | open-keychain-9a612131fd172c9b8e459e60590295acf87345a8.tar.gz open-keychain-9a612131fd172c9b8e459e60590295acf87345a8.tar.bz2 open-keychain-9a612131fd172c9b8e459e60590295acf87345a8.zip |
Merge pull request #1158 from manojkhannakm/development
Fixed a crash on ViewKeyActivity and Issue #1114
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/ExportHelper.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/ExportHelper.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/ExportHelper.java index cda5892fe..7b164f2b2 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/ExportHelper.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/ExportHelper.java @@ -47,21 +47,6 @@ public class ExportHelper { this.mActivity = activity; } - public void deleteKey(Uri dataUri, Handler deleteHandler) { - try { - long masterKeyId = new ProviderHelper(mActivity).getCachedPublicKeyRing(dataUri) - .extractOrGetMasterKeyId(); - - // Create a new Messenger for the communication back - Messenger messenger = new Messenger(deleteHandler); - DeleteKeyDialogFragment deleteKeyDialog = DeleteKeyDialogFragment.newInstance(messenger, - new long[]{ masterKeyId }); - deleteKeyDialog.show(mActivity.getSupportFragmentManager(), "deleteKeyDialog"); - } catch (PgpKeyNotFoundException e) { - Log.e(Constants.TAG, "key not found!", e); - } - } - /** * Show dialog where to export keys */ |