diff options
| author | 2024-09-10 20:26:59 +0800 | |
|---|---|---|
| committer | 2024-09-11 18:46:11 +0800 | |
| commit | f4631727b7522cde82889202dc3c7b4c3d587b8e (patch) | |
| tree | 1f1262ed270dddf1e53804c06e5cb20631675b8b /libs/androidfw/StringPool.cpp | |
| parent | 6501ca315efe4bddaac97ed2bfa0334b7858875a (diff) | |
Acquire the global lock of WM before calling updateConfigIfNeeded
The logic in PackageConfigPersister#updateConfigIfNeeded might access
the ConfigurationContainer fields protected by WindowManagerGlobalLock.
This CL moves the call to
ActivityTaskManagerService.LocalService#onProcessAdded instead.
Fix: 365671924
Flag: com.android.window.flags.insets_decoupled_configuration
Test: atest WindowProcessControllerTests ActivityTaskManagerServiceTests
Change-Id: I0c37eb6ca60e6bc9ca9952441bf47e78fba8b174
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions