remove redundant check from EncryptFileActivity

This commit is contained in:
Vincent Breitmoser 2014-09-01 23:38:11 +02:00
parent 2ead78a1e5
commit b3d3026de7

View File

@ -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,