From bac6b78b11d959c6e8cefe4d5a2815717ab6050b Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Thu, 21 Feb 2013 14:47:18 -0800 Subject: [PATCH] Clear passphrase field on invalid entry. --- src/org/thoughtcrime/securesms/PassphrasePromptActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/thoughtcrime/securesms/PassphrasePromptActivity.java b/src/org/thoughtcrime/securesms/PassphrasePromptActivity.java index d8e40e9067..1470e88c64 100644 --- a/src/org/thoughtcrime/securesms/PassphrasePromptActivity.java +++ b/src/org/thoughtcrime/securesms/PassphrasePromptActivity.java @@ -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();