clear password field before setting new one

This commit is contained in:
Daniel Gultsch 2016-05-04 18:23:36 +02:00
parent fb41a4ffaa
commit c27663c456

View file

@ -88,6 +88,7 @@ public class ChangePasswordActivity extends XmppActivity implements XmppConnecti
Intent intent = getIntent(); Intent intent = getIntent();
String password = intent != null ? intent.getStringExtra("password") : null; String password = intent != null ? intent.getStringExtra("password") : null;
if (password != null) { if (password != null) {
this.mNewPassword.getEditableText().clear();
this.mNewPassword.getEditableText().append(password); this.mNewPassword.getEditableText().append(password);
} }
} }