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

Commit 3572be2c authored by Adrian Roos's avatar Adrian Roos
Browse files

AOD: Ensure WakeLock is held for delayed dozeTimeTick

Bug: 71913808
Test: n/a
Change-Id: Iefc7bb19b7a8bbab88ffe92a58c7c8cff03c89f4
parent ba199f56
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ public class DozeUi implements DozeMachine.Part {
                    // The display buffers will be empty and need to be filled.
                    mHost.dozeTimeTick();
                    // The first frame may arrive when the display isn't ready yet.
                    mHandler.postDelayed(mHost::dozeTimeTick, 100);
                    mHandler.postDelayed(mWakeLock.wrap(mHost::dozeTimeTick), 100);
                }
                scheduleTimeTick();
                break;