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

This commit is contained in:
Wei Sheng Shih
2020-06-09 01:53:17 +00:00
committed by Android (Google) Code Review

View File

@@ -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