Merge pull request #1174 from Jesperbk/development

Fixed symmetric encryption crash
This commit is contained in:
Dominik Schürmann 2015-03-23 13:01:10 +01:00
commit 30711c3fe7

View File

@ -136,7 +136,9 @@ public class EncryptTextActivity extends EncryptActivity implements EncryptActiv
@Override
public void setPassphrase(Passphrase passphrase) {
if (mPassphrase != null) {
mPassphrase.removeFromMemory();
}
mPassphrase = passphrase;
}