aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-05-04 18:23:36 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-05-04 18:23:36 +0200
commitc27663c4566762d06ff1ed1c98ed943c01a172f4 (patch)
treec297b97ca87db42852dc62132c8ebb00dfdee2c7
parentfb41a4ffaa8aa8d47955cbb75cc0ba97107517a3 (diff)
clear password field before setting new one
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ChangePasswordActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ChangePasswordActivity.java b/src/main/java/eu/siacs/conversations/ui/ChangePasswordActivity.java
index 750a1da3..3fb75630 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);
}
}