Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f4631727 authored by Tiger's avatar Tiger
Browse files

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
parent 6501ca31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment