diff options
| author | 2022-03-30 07:59:32 +0000 | |
|---|---|---|
| committer | 2022-03-30 07:59:32 +0000 | |
| commit | a4c0fc9a678c42fa0b852b0d2a4d2ba4cb12dd6e (patch) | |
| tree | 9f1182611cc4403dab73529b415dd75987bf60cd /libs/androidfw/StringPool.cpp | |
| parent | 18f93518bd1deb8aaefe67e2e282bdc7e35b3632 (diff) | |
Cache OverContext to prevent deadlock
There may be a deadlock if WMS is obtaining DisplayInfo during
creating SystemUiContext on seconday display
while PMS is querying current power state from DMS.
This CL caches the OverlayContext used in LocalDisplayAdapter
to prevent DMS from holding ActivityThread lock.
fixes: 227308239
Test: atest LocalDisplayAdapterTest
Change-Id: I41c44ea070673f048b49d108e029ae90d96645ad
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions