commit | 106bfbfab11df63f3538c16a4d87e49bf61eb12d | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Thu May 20 04:39:46 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu May 20 04:39:46 2021 +0000 |
tree | 20cc15f5ee386843147a0f2c46ddd4984f05dad6 | |
parent | 1a2cbe8daba2ad89076db419f9c6284fe566c981 [diff] | |
parent | ab7eb19f2666ddb9478e0775e239190d5ce78b45 [diff] |
Merge "Revert "Finish the recents animation upon home rotation"" into sc-dev am: 0bd7763ccc am: ab7eb19f26 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14625480 Change-Id: I196a1e205625c2232f105019ef79ab5182ff7448
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 4cdae27..83d15f7 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
@@ -2615,16 +2615,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();