-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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}
- Loading branch information
Showing
2 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters