Loading packages/SystemUI/src/com/android/systemui/doze/DozeUi.java +1 −3 Original line number Diff line number Diff line Loading @@ -113,9 +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(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); mHandler.postDelayed(mWakeLock.wrap(mHost::dozeTimeTick), 500); } scheduleTimeTick(); break; Loading packages/SystemUI/src/com/android/systemui/util/wakelock/DelayedWakeLock.java +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ import android.os.Handler; */ public class DelayedWakeLock implements WakeLock { private static final long RELEASE_DELAY_MS = 140; private static final long RELEASE_DELAY_MS = 100; private final Handler mHandler; private final WakeLock mInner; Loading Loading
packages/SystemUI/src/com/android/systemui/doze/DozeUi.java +1 −3 Original line number Diff line number Diff line Loading @@ -113,9 +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(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); mHandler.postDelayed(mWakeLock.wrap(mHost::dozeTimeTick), 500); } scheduleTimeTick(); break; Loading
packages/SystemUI/src/com/android/systemui/util/wakelock/DelayedWakeLock.java +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ import android.os.Handler; */ public class DelayedWakeLock implements WakeLock { private static final long RELEASE_DELAY_MS = 140; private static final long RELEASE_DELAY_MS = 100; private final Handler mHandler; private final WakeLock mInner; Loading