commit | a74c80392b87f666141fef3de3d4ab3f1a7d2dbd | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Sat Apr 24 19:45:31 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Apr 24 19:45:31 2021 +0000 |
tree | 549dc213236ea5cb0c2fe68c6838a3dea989c4d2 | |
parent | 344e0e79c52f3219160aedbf20821cf7acb73ac5 [diff] | |
parent | 60a4a0b33d051bf73e7785b60c5a05b579adaff7 [diff] |
Merge "Revert "Finish recents animation upon home rotation"" into sc-dev am: 60a4a0b33d Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14302202 Change-Id: Ib2de0ae3c8964ae2ec5a7f71fe43b59d5c020c75
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index d59d120..41076f3 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
@@ -2515,15 +2515,6 @@ @Override protected void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); - if (LIVE_TILE.get() && mRunningTaskId != -1) { - switchToScreenshot( - () -> finishRecentsAnimation(true, this::onConfigurationChangedInternal)); - } else { - onConfigurationChangedInternal(); - } - } - - private void onConfigurationChangedInternal() { final int rotation = mActivity.getDisplay().getRotation(); if (mOrientationState.setRecentsRotation(rotation)) { updateOrientationHandler();