summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Yohei Yukawa <yukawa@google.com> 2023-08-30 16:16:37 -0700
committer Yohei Yukawa <yukawa@google.com> 2023-08-30 16:16:37 -0700
commit50cf27b0975aaf8484bc388067ea6c3bc7b5b884 (patch)
treea098e904107b01f4c4bb0e8ed044b68acd028c42 /libs/androidfw/AssetsProvider.cpp
parent33d74806d127c7e94ebf0c4a10b72b18d712d3ec (diff)
Stop calling IMM#isActive() from TextView#onDraw()
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(View) should be used instead, especially for methods like TextView#onDraw(). Bug: 291826769 Test: presubmit Test: atest CtsInputMethodTestCases Change-Id: I27f2d66050588c5adc6315160e54486131f3fca2
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions