diff options
| author | 2022-04-08 07:00:51 -0700 | |
|---|---|---|
| committer | 2022-05-05 00:25:15 +0000 | |
| commit | af769b1e0bf09e9a8a4a6bc45914d17cd4f6b799 (patch) | |
| tree | e3b77c8f839045a071078ffcc60e6eccc73b966f /libs/androidfw/AttributeResolution.cpp | |
| parent | e5f9c3da5c3350f4e116e5992957f8017e763854 (diff) | |
Prevent deadlock when releasing VirtualDisplays
When releasing a VirtualDisplay owned by a VirtualDevice, the
VirtualDeviceManagerService needs to release a WakeLock it holds on
behalf of the display. This needs to happen outside of the
synchronized block in DisplayManagerService, because releasing the
WakeLock ends up calling back into the DisplayManagerService.
Fixes: 224775363
Test: atest StreamedAppBehaviorTest
Change-Id: Ie831fcad7105d51c64717c3e00d332c543de3b47
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions