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

Commit c93f22f2 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Android (Google) Code Review
Browse files

Merge "Take new screen shot before kill previous one." into rvc-dev

parents e85c54f3 42e9e489
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -5616,11 +5616,6 @@ public class WindowManagerService extends IWindowManager.Stub
        mLatencyTracker.onActionStart(ACTION_ROTATE_SCREEN);
        mExitAnimId = exitAnim;
        mEnterAnimId = enterAnim;
        ScreenRotationAnimation screenRotationAnimation =
                displayContent.getRotationAnimation();
        if (screenRotationAnimation != null) {
            screenRotationAnimation.kill();
        }

        displayContent.updateDisplayInfo();
        final int originalRotation = overrideOriginalRotation != ROTATION_UNDEFINED