auto-click encrypt/decrypt button when using an *_AND_RETURN Intent with EXTRA_DATA or ContentURI
Fixes issue 67
This commit is contained in:
@@ -394,7 +394,7 @@ public class EncryptActivity extends BaseActivity {
|
||||
updateButtons();
|
||||
|
||||
if (mReturnResult &&
|
||||
(mMessage.getText().length() > 0 || mData != null) &&
|
||||
(mMessage.getText().length() > 0 || mData != null || mContentUri != null) &&
|
||||
((mEncryptionKeyIds != null &&
|
||||
mEncryptionKeyIds.length > 0) ||
|
||||
getSecretKeyId() != 0)) {
|
||||
|
||||
Reference in New Issue
Block a user