diff options
| author | 2024-03-12 23:11:45 -0700 | |
|---|---|---|
| committer | 2024-03-12 23:11:45 -0700 | |
| commit | 313a52758136c3661ec3ae2fe02abc50be8f3ffb (patch) | |
| tree | 6657439d6969d7a75ea054c6107b1d235e9c9c47 /libs/androidfw/StringPool.cpp | |
| parent | e5475c78d31a4dcb5b4e1ce2e12eaf30d0315555 (diff) | |
Remove unnecessary query in IMMS#switchUserOnHandlerLocked()
This is a follow up CL to my previous CL [1], which started using
InputMethodSettingsRepository
as a on-memory data repository of InputMethodSettings to avoid
unnecessary queries to PackageManagerService.
With this CL
InputMethodManagerService#switchUserOnHandlerLocked()
also start using InputMethodSettingsRepository instead of querying
available IMEs for the new user dynamically.
This CL is supposed to improve the IME user switching latency.
[1]: Ie2d3b7e9b75790f64789d0c2e96ae46b1dee3a1e
03e0580e6f1ff8c4bb345747448b2569ebf7f1bf
Bug: 309837937
Bug: 329163064
Test: presubmit
Change-Id: Icfdb247ee6bbcc43ce7b09954a85bfcff31c8441
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions