diff options
| author | 2023-02-13 17:10:25 +0100 | |
|---|---|---|
| committer | 2023-02-23 14:42:00 +0100 | |
| commit | 63ba140ca3d9c080e8cfdaf8a8ebfb46ea3f060a (patch) | |
| tree | 2eb7ce37a513fe55db2aff24fd6771269560058b /libs/androidfw/StringPool.cpp | |
| parent | 04b798536555f9699a902370ecc3473656007d2d (diff) | |
Refactor virtual display creation and cleanup
* Consolidate all resources tied to display in newly added
VirtualDisplayWrapper data class.
* Simplify virtual display creation logic but moving all
business logic inside VirtualDeviceImpl.createVirtualDisplay
* Release all not-yet released displays when the virtual device
is closed.
* Fix locking issues (unnecessary holding of lock, vs missing locking).
* Fix deadlock caused by lock inversion when holding mVirtualDeviceLock during calls into mInputController / InputManagerInternal.
Bug: 267747549
Bug: 266567359
Test: atest VirtualDeviceManagerServiceTest
Test: atest CtsVirtualDevicesTestCases
Test: atest VirtualDisplayTest --iterations 30
Change-Id: Ie447bd1cee9356a6343ed38c35e13c8228d2464f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions