commit | a4c0fc9a678c42fa0b852b0d2a4d2ba4cb12dd6e | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Wed Mar 30 07:59:32 2022 +0000 |
committer | Charles Chen <charlesccchen@google.com> | Wed Mar 30 07:59:32 2022 +0000 |
tree | 9f1182611cc4403dab73529b415dd75987bf60cd | |
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