diff options
| author | 2024-08-05 10:28:24 -0700 | |
|---|---|---|
| committer | 2024-08-05 10:28:24 -0700 | |
| commit | 36419b6136c42d6ac5b56037ee91e40ddb38c8da (patch) | |
| tree | fc505d7103c6bcca7eb8d4f86d021f1a430e4299 /libs/androidfw/StringPool.cpp | |
| parent | 56394c58860965401eaeffa98effdf6f393fd90f (diff) | |
Do more stuff w/o ImfLock in onFinishPackageChangesInternal()
With this CL
InputMethodManagerService.MyPackageMonitor
.onFinishPackageChangesInternal()
will start more potentially heavy weight tasks outside of ImfLock to
reduce lock contention. Most importantly, we no longer acquire
ImfLock at all when there is no update in InputMethodMap. This should
drastically reduce the likelihood of lock contentions around
MyPackageMonitor.
Overall there should be no user perceivable behavior change.
Bug: 329703038
Bug: 343601565
Test: presubmit
Flag: EXEMPT refactor
Change-Id: If140d635dc4f462554c3324cef4dbf902aafc136
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions