auto-click encrypt/decrypt button when using an *_AND_RETURN Intent with EXTRA_DATA or ContentURI

Fixes issue 67
This commit is contained in:
Thialfihar
2010-12-25 19:24:04 +00:00
parent 9e8b266bf0
commit 9687e9b1a3
2 changed files with 2 additions and 2 deletions

View File

@@ -328,7 +328,7 @@ public class DecryptActivity extends BaseActivity {
updateSource();
if (mSource.getCurrentView().getId() == R.id.sourceMessage &&
(mMessage.getText().length() > 0 || mData != null)) {
(mMessage.getText().length() > 0 || mData != null || mContentUri != null)) {
mDecryptButton.performClick();
}
}