Loading services/core/java/com/android/server/display/DisplayPowerController.java +5 −1 Original line number Diff line number Diff line Loading @@ -840,8 +840,12 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call // If there is already an animation in progress, don't interfere with it. if (mColorFadeOnAnimator.isStarted() || mColorFadeOffAnimator.isStarted()) { if (target != Display.STATE_ON) { return; } // If display state changed to on, proceed and stop the color fade and turn screen on. mPendingScreenOff = false; } // If we were in the process of turning off the screen but didn't quite // finish. Then finish up now to prevent a jarring transition back Loading Loading
services/core/java/com/android/server/display/DisplayPowerController.java +5 −1 Original line number Diff line number Diff line Loading @@ -840,8 +840,12 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call // If there is already an animation in progress, don't interfere with it. if (mColorFadeOnAnimator.isStarted() || mColorFadeOffAnimator.isStarted()) { if (target != Display.STATE_ON) { return; } // If display state changed to on, proceed and stop the color fade and turn screen on. mPendingScreenOff = false; } // If we were in the process of turning off the screen but didn't quite // finish. Then finish up now to prevent a jarring transition back Loading