diff options
| author | 2023-03-15 16:56:00 -0400 | |
|---|---|---|
| committer | 2023-03-16 15:20:42 -0400 | |
| commit | 4324e3418792df99e4e3181a24c24e2e0e930405 (patch) | |
| tree | 74cb4bc12ed151980be1eceb6f351fed430f1926 /libs/androidfw/ObbFile.cpp | |
| parent | 3304d2f429cc921468a7f6af6a6d422ddab4007d (diff) | |
Fix DreamService -> DreamOverlayService synchronization issues.
This change moves the DreamOverlayService connection management logic
out of DreamService so that it can be separately tested. It also updates
the connection logic to use a handler for synchronization of messages,
and correctly cancels pending messages when needed.
This avoids consumers from running after the service has been
unbound.
Fixes: 267335683
Test: atest DreamOverlayConnectionHandlerTest
Test: flashed device and verified no crash when enabling/disabling
lowlight, and pressing the power button
Change-Id: I93855885ad80410693b8dcb4c2e696e0cabc5737
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions