Merge "AOD: Fix rotation during screen off (again)" into oc-dr1-dev

This commit is contained in:
TreeHugger Robot
2017-07-25 17:00:22 +00:00
committed by Android (Google) Code Review

View File

@@ -3164,7 +3164,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
@Override
public void selectRotationAnimationLw(int anim[]) {
// If the screen is off or non-interactive, force a jumpcut.
final boolean forceJumpcut = !mScreenOnFully || !mAwake;
final boolean forceJumpcut = !mScreenOnFully || !okToAnimate();
if (PRINT_ANIM) Slog.i(TAG, "selectRotationAnimation mTopFullscreen="
+ mTopFullscreenOpaqueWindowState + " rotationAnimation="
+ (mTopFullscreenOpaqueWindowState == null ?