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

Commit d8c77c94 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AOD: Add additional delayed dozeTimeTick after unpausing" into pi-dev

parents 580a1ed9 370d3272
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -114,6 +114,8 @@ public class DozeUi implements DozeMachine.Part {
                    mHost.dozeTimeTick();
                    mHost.dozeTimeTick();
                    // The first frame may arrive when the display isn't ready yet.
                    // The first frame may arrive when the display isn't ready yet.
                    mHandler.postDelayed(mWakeLock.wrap(mHost::dozeTimeTick), 100);
                    mHandler.postDelayed(mWakeLock.wrap(mHost::dozeTimeTick), 100);
                    // The the delayed frame may arrive when the display isn't ready yet either.
                    mHandler.postDelayed(mWakeLock.wrap(mHost::dozeTimeTick), 1000);
                }
                }
                scheduleTimeTick();
                scheduleTimeTick();
                break;
                break;