diff options
| author | 2024-05-09 10:14:06 +0900 | |
|---|---|---|
| committer | 2024-05-09 10:14:06 +0900 | |
| commit | 0049e994418fd59013ed4cd1043b996f778db494 (patch) | |
| tree | 315455c465d233afa19d0694c63484eab3422b11 /libs/androidfw/StringPool.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions