Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4324e341 authored by Lucas Silva's avatar Lucas Silva
Browse files

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
parent 3304d2f4
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