close streams more consistently (outside of encrypt/decrypt), force a new output filename guess if the ASCII armour checkbox state changes
This commit is contained in:
@@ -206,6 +206,8 @@ public class EncryptMessageActivity extends BaseActivity {
|
||||
Apg.signText(in, out, getSecretKeyId(),
|
||||
Apg.getPassPhrase(), getDefaultHashAlgorithm(), this);
|
||||
}
|
||||
|
||||
out.close();
|
||||
data.putString("message", new String(out.toByteArray()));
|
||||
} catch (IOException e) {
|
||||
error = e.getMessage();
|
||||
|
||||
Reference in New Issue
Block a user