diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-09-17 14:00:11 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-09-17 14:00:11 +0200 |
commit | 27cc92cbefabb1c3a33fd0c8a2acb3da176f2c23 (patch) | |
tree | 3afd6e491ac336a76096faa9893a49f1eddf9826 /OpenKeychain/src/main | |
parent | d686c55a0a86ef845795fc03a8a5de44b5fe73cc (diff) | |
download | open-keychain-27cc92cbefabb1c3a33fd0c8a2acb3da176f2c23.tar.gz open-keychain-27cc92cbefabb1c3a33fd0c8a2acb3da176f2c23.tar.bz2 open-keychain-27cc92cbefabb1c3a33fd0c8a2acb3da176f2c23.zip |
Dont copy encrypted file to clipboard (dont know how that code ended up there)
Diffstat (limited to 'OpenKeychain/src/main')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EncryptFileActivity.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EncryptFileActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EncryptFileActivity.java index a5de20986..6f563e446 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EncryptFileActivity.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EncryptFileActivity.java @@ -209,8 +209,7 @@ public class EncryptFileActivity extends DrawerActivity implements EncryptActivi // Share encrypted message/file startActivity(sendWithChooserExcludingEncrypt(message)); } else { - // Copy to clipboard - copyToClipboard(message); + // Save encrypted file Notify.showNotify(EncryptFileActivity.this, R.string.encrypt_sign_clipboard_successful, Notify.Style.INFO); } @@ -258,10 +257,6 @@ public class EncryptFileActivity extends DrawerActivity implements EncryptActivi return data; } - private void copyToClipboard(Message message) { - ClipboardReflection.copyToClipboard(this, new String(message.getData().getByteArray(KeychainIntentService.RESULT_BYTES))); - } - /** * Create Intent Chooser but exclude OK's EncryptActivity. */ |