added a button to encrypt to clipboard, change log and about window got their own layout now with proper linkification

This commit is contained in:
Thialfihar
2010-05-09 13:29:30 +00:00
parent 2e1aad0f81
commit 73888622f4
8 changed files with 120 additions and 63 deletions

View File

@@ -150,6 +150,9 @@ public class DecryptMessageActivity extends BaseActivity {
try {
ByteArrayInputStream in = new ByteArrayInputStream(messageData.getBytes());
setSecretKeyId(Apg.getDecryptionKeyId(in));
if (getSecretKeyId() == 0) {
throw new Apg.GeneralException("no suitable secret key found");
}
showDialog(Id.dialog.pass_phrase);
} catch (IOException e) {
error = e.getLocalizedMessage();