| commit | 2fade04fd534bf85483e59da61fa3b2b7295b3d0 | [log] [tgz] |
|---|---|---|
| author | Yohei Yukawa <yukawa@google.com> | Wed Aug 30 15:54:36 2023 -0700 |
| committer | Yohei Yukawa <yukawa@google.com> | Wed Aug 30 15:54:36 2023 -0700 |
| tree | f233c7c58c8547fcefcf217a069eecc8030d8f7b | |
| parent | 33d74806d127c7e94ebf0c4a10b72b18d712d3ec [diff] |
Remove a dependency on IMM#isActive() from Editor.java Despite its name, InputMethodManager#isActive(View) internally aquires IMM lock three times and may even trigger IME focus switching. To make things simpler and more predictable, InputMethodManager#hasActiveInputConnectionInternal() should be used instead. Bug: 291826769 Bug: 287109569 Test: presubmit Change-Id: Iad75edd76de5957819f0dca14bdb4068c14a09a1