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

Skip to content
Commit 626c65bc authored by Weiyin Jiang's avatar Weiyin Jiang Committed by Gerrit - the friendly Code Review server
Browse files

nuplayer: acquire wakelock during offload pause timeout

Nuplayer utilizes AMessage to post pause timeout message. Unlike timed
event queue used by awesome player, AMessage won't hold wakelock, which
results in tear down doesn't happen after kOffloadPauseMaxUs since ARM
cores are sleeping. As a result, audio output driver won't be closed
which blocks XO shutdown.

Implement wakelock request in Nuplayer render.

CRs-Fixed: 785828
Change-Id: I3d11fef633e3f2783f4aa31e71285e2fa09d234c
parent 8b00e111
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