#740 - Fix bug I introduced in b0c56b3
, and set the input type when auth metod is changed to password
This commit is contained in:
parent
e1ced76b55
commit
d1edfe1426
1 changed files with 3 additions and 0 deletions
|
@ -257,6 +257,9 @@ public class CredentialsPreference extends DialogPreference
|
||||||
passwordLayout.setHint(getContext().getString(R.string.settings_hint_password));
|
passwordLayout.setHint(getContext().getString(R.string.settings_hint_password));
|
||||||
passwordConfirm.setHint(R.string.settings_hint_password_confirm);
|
passwordConfirm.setHint(R.string.settings_hint_password_confirm);
|
||||||
|
|
||||||
|
passwordInput.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD);
|
||||||
|
passwordConfirm.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD);
|
||||||
|
|
||||||
ConfirmedPasswordTransformationHelper.setup(passwordLayout, passwordInput, passwordConfirm);
|
ConfirmedPasswordTransformationHelper.setup(passwordLayout, passwordInput, passwordConfirm);
|
||||||
|
|
||||||
passwordInput.setTransformationMethod(new PasswordTransformationMethod());
|
passwordInput.setTransformationMethod(new PasswordTransformationMethod());
|
||||||
|
|
Loading…
Reference in a new issue