Clear passphrase field on invalid entry.
This commit is contained in:
parent
5bf5b404a1
commit
bac6b78b11
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ public class PassphrasePromptActivity extends PassphraseActivity {
|
|||
MemoryCleaner.clean(passphrase);
|
||||
setMasterSecret(masterSecret);
|
||||
} catch (InvalidPassphraseException ipe) {
|
||||
passphraseText.setText("");
|
||||
Toast.makeText(getApplicationContext(),
|
||||
R.string.PassphrasePromptActivity_invalid_passphrase_exclamation,
|
||||
Toast.LENGTH_SHORT).show();
|
||||
|
|
Loading…
Add table
Reference in a new issue