From 06df8fe4d85b09c616a9e20e71a456bc8e888b73 Mon Sep 17 00:00:00 2001 From: Tracy Zhou Date: Tue, 4 May 2021 21:16:46 +0000 Subject: [PATCH] Revert "Revert "Revert "Finish recents animation upon home rotation""" This reverts commit ef7b4d5dae976c1c6f4dbf5e43d6ab020361aa3a. Reason for revert: Possibly broke a test Bug: 187112839 Change-Id: I16ac2a155af9a0ae2ea60f55c52e0b3bf4307089 --- .../src/com/android/quickstep/views/RecentsView.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 1a0a1a4357..e5ce9509c8 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -2486,15 +2486,6 @@ public abstract class RecentsView finishRecentsAnimation(true, this::onConfigurationChangedInternal)); - } else { - onConfigurationChangedInternal(); - } - } - - private void onConfigurationChangedInternal() { final int rotation = mActivity.getDisplay().getRotation(); if (mOrientationState.setRecentsRotation(rotation)) { updateOrientationHandler(); @@ -3447,7 +3438,7 @@ public abstract class RecentsView