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
Loading
Please register or sign in to comment