зеркало из https://github.com/mozilla/gecko-dev.git
Bug 840406 - Use password mode for all type=password inputs; r=cpeterson
This commit is contained in:
Родитель
21c7dfb5df
Коммит
46c21b437e
|
@ -535,7 +535,8 @@ class GeckoInputConnection
|
|||
outAttrs.imeOptions = EditorInfo.IME_ACTION_NONE;
|
||||
outAttrs.actionLabel = null;
|
||||
|
||||
if (mIMEState == IME_STATE_PASSWORD)
|
||||
if (mIMEState == IME_STATE_PASSWORD ||
|
||||
"password".equalsIgnoreCase(mIMETypeHint))
|
||||
outAttrs.inputType |= InputType.TYPE_TEXT_VARIATION_PASSWORD;
|
||||
else if (mIMEState == IME_STATE_PLUGIN)
|
||||
outAttrs.inputType = InputType.TYPE_NULL; // "send key events" mode
|
||||
|
|
Загрузка…
Ссылка в новой задаче