Skip to content
Commit a4c0fc9a authored by Charles Chen's avatar Charles Chen
Browse files

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
parent 18f93518
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment