Dont copy encrypted file to clipboard (dont know how that code ended up there)
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user