Ignore reentrancy for ImeThread triggering
In the delayed activation of input connection, we call requestFocus() on proxy view, and this triggers HwSecImmHelper.isPasswordInputType() on Huawei phone, which in turn calls View#onCreateInputConnection() so there is an infinite loop, which eventually causes stackoverflow. Presumably isPasswordInputType() is only concerned about whether onCreateInputConnection()'s outAttrs.inputType is password type or not, so we fill out outAttrs.inputType and early out when there is a reentrance. BUG=636197 Review-Url: https://codereview.chromium.org/2246833002 Cr-Commit-Position: refs/heads/master@{#415220}
Showing
Please register or sign in to comment