summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yohei Yukawa <yukawa@google.com> 2024-05-09 10:14:06 +0900
committer Yohei Yukawa <yukawa@google.com> 2024-05-09 10:14:06 +0900
commit0049e994418fd59013ed4cd1043b996f778db494 (patch)
tree315455c465d233afa19d0694c63484eab3422b11 /libs/androidfw/StringPool.cpp
parent14bea36314d501f44909b58e910e9dcec898b839 (diff)
Inline IMMS#isSelectedMethodBoundLocked()
With this commit we avoid redundant invocations of IMMS#mUserDataRepository.getOrCreate(mCurrentUserId) from InputMethodManagerService#startInputUncheckedLocked() by recursively inlining InputMethodManagerService#isSelectedMethodBoundLocked(). This is a mechanical optimization. There must be no observable behavior change. Bug: 325515685 Test: presubmit Change-Id: I25e2d1735824fa2ce91ed2cfe71b21653c950bf5
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions