commit | 0049e994418fd59013ed4cd1043b996f778db494 | [log] [tgz] |
---|---|---|
author | Yohei Yukawa <yukawa@google.com> | Thu May 09 10:14:06 2024 +0900 |
committer | Yohei Yukawa <yukawa@google.com> | Thu May 09 10:14:06 2024 +0900 |
tree | 315455c465d233afa19d0694c63484eab3422b11 | |
parent | 14bea36314d501f44909b58e910e9dcec898b839 [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