Revert "Finish the recents animation upon home rotation"
This reverts commit 38588dc23a68543d5f83f6253c402199bab0f134.
Reason for revert: b/188541715
Fixes: 188541715
Change-Id: I4d85ced55e1a9a4ca64f9c9a855abbfec9f306bb
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java
index b5e3455..dfe0c43 100644
--- a/quickstep/src/com/android/quickstep/views/RecentsView.java
+++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
@@ -2592,16 +2592,6 @@
@Override
protected void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
- if (LIVE_TILE.get()) {
- switchToScreenshot(
- () -> finishRecentsAnimation(true /* toRecents */,
- this::onConfigurationChangedInternal));
- } else {
- onConfigurationChangedInternal();
- }
- }
-
- private void onConfigurationChangedInternal() {
final int rotation = mActivity.getDisplay().getRotation();
if (mOrientationState.setRecentsRotation(rotation)) {
updateOrientationHandler();