mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -05:00
Dont copy encrypted file to clipboard (dont know how that code ended up there)
This commit is contained in:
parent
d686c55a0a
commit
27cc92cbef
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user