Loading quickstep/src/com/android/quickstep/views/RecentsView.java +15 −1 Original line number Diff line number Diff line Loading @@ -2667,6 +2667,20 @@ public abstract class RecentsView<CONTAINER_TYPE extends Context & RecentsViewCo // Let system take care of the rotation return; } if (mRunningTaskShowScreenshot) { animateRotation(newRotation); } else { // Animate the rotation and stops running task switchToScreenshot(() -> { animateRotation(newRotation); finishRecentsAnimation(true /* toRecents */, false /* shouldPip */, null /* onFinishComplete */); }); } } private void animateRotation(int newRotation) { AnimatorSet pa = setRecentsChangedOrientation(true); pa.addListener(AnimatorListeners.forSuccessCallback(() -> { setLayoutRotation(newRotation, mOrientationState.getDisplayRotation()); Loading Loading @@ -5925,7 +5939,7 @@ public abstract class RecentsView<CONTAINER_TYPE extends Context & RecentsViewCo return; } taskView.setShouldShowScreenshot(true); setRunningTaskViewShowScreenshot(true); for (TaskContainer container : taskView.getTaskContainers()) { if (container == null) { continue; Loading Loading
quickstep/src/com/android/quickstep/views/RecentsView.java +15 −1 Original line number Diff line number Diff line Loading @@ -2667,6 +2667,20 @@ public abstract class RecentsView<CONTAINER_TYPE extends Context & RecentsViewCo // Let system take care of the rotation return; } if (mRunningTaskShowScreenshot) { animateRotation(newRotation); } else { // Animate the rotation and stops running task switchToScreenshot(() -> { animateRotation(newRotation); finishRecentsAnimation(true /* toRecents */, false /* shouldPip */, null /* onFinishComplete */); }); } } private void animateRotation(int newRotation) { AnimatorSet pa = setRecentsChangedOrientation(true); pa.addListener(AnimatorListeners.forSuccessCallback(() -> { setLayoutRotation(newRotation, mOrientationState.getDisplayRotation()); Loading Loading @@ -5925,7 +5939,7 @@ public abstract class RecentsView<CONTAINER_TYPE extends Context & RecentsViewCo return; } taskView.setShouldShowScreenshot(true); setRunningTaskViewShowScreenshot(true); for (TaskContainer container : taskView.getTaskContainers()) { if (container == null) { continue; Loading