Loading packages/SystemUI/src/com/android/systemui/doze/DozeUi.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -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; Loading Loading
packages/SystemUI/src/com/android/systemui/doze/DozeUi.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -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; Loading