From c27663c4566762d06ff1ed1c98ed943c01a172f4 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 4 May 2016 18:23:36 +0200 Subject: [PATCH] clear password field before setting new one --- .../java/eu/siacs/conversations/ui/ChangePasswordActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/eu/siacs/conversations/ui/ChangePasswordActivity.java b/src/main/java/eu/siacs/conversations/ui/ChangePasswordActivity.java index 750a1da3d..3fb756308 100644 --- a/src/main/java/eu/siacs/conversations/ui/ChangePasswordActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ChangePasswordActivity.java @@ -88,6 +88,7 @@ public class ChangePasswordActivity extends XmppActivity implements XmppConnecti Intent intent = getIntent(); String password = intent != null ? intent.getStringExtra("password") : null; if (password != null) { + this.mNewPassword.getEditableText().clear(); this.mNewPassword.getEditableText().append(password); } }