diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-09-01 23:38:11 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-09-01 23:38:11 +0200 |
commit | b3d3026de78af89bc998958cdaff6ca34d1239ef (patch) | |
tree | 5a7f11a3febc693bca9f4cb855f79d5300840340 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain | |
parent | 2ead78a1e51c71911d1205b4fe946c38924db145 (diff) | |
download | open-keychain-b3d3026de78af89bc998958cdaff6ca34d1239ef.tar.gz open-keychain-b3d3026de78af89bc998958cdaff6ca34d1239ef.tar.bz2 open-keychain-b3d3026de78af89bc998958cdaff6ca34d1239ef.zip |
remove redundant check from EncryptFileActivity
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EncryptFileActivity.java | 5 |
1 files changed, 0 insertions, 5 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 8378d0569..3f58f14f3 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EncryptFileActivity.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EncryptFileActivity.java @@ -395,11 +395,6 @@ public class EncryptFileActivity extends DrawerActivity implements EncryptActivi return false; } - if (!gotEncryptionKeys && mSigningKeyId == 0) { - Notify.showNotify(this, R.string.select_encryption_or_signature_key, Notify.Style.ERROR); - return false; - } - try { if (mSigningKeyId != 0 && PassphraseCacheService.getCachedPassphrase(this, mSigningKeyId) == null) { PassphraseDialogFragment.show(this, mSigningKeyId, |