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

Commit d250688c authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

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

am: 67a2f7bd

Change-Id: I7cd1ae0e75b771078961c72ded9c64cc156bd3e1
parents b1d949ba 67a2f7bd
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;