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

Commit d9587224 authored by brycelee's avatar brycelee
Browse files

Ensure dream logic is not suspended on handler.

It is possible for work to be queued on a handler and then
suspended in doze mode. This can cause dream operations to
be noticeably deferred. In order to address this, a wake
lock is now acquired in this scenario and wraps these
calls on the handler. Note that in the normal, non-doze
dream case, the wakelock is not necessary.

Bug: 404420534
Flag: EXEMPT bugfix
Test: atest DreamServiceTest
Change-Id: Ib7802e951ea793ca4484ef19972a9f2aed4bfd81
parent c027f365
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment