commit | ab7eb19f2666ddb9478e0775e239190d5ce78b45 | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Tue May 18 18:20:45 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 18 18:20:45 2021 +0000 |
tree | 3d9efa3a529016a2645438e4824e178ac3ba4cc8 | |
parent | 3cb1237308dac0c9de42f68be2f14f4c92304f7f [diff] | |
parent | 0bd7763ccc2326398681703fb55da2e0f8e0c8b2 [diff] |
Merge "Revert "Finish the recents animation upon home rotation"" into sc-dev am: 0bd7763ccc Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14625480 Change-Id: I5c4ff3428b7d20a9ea9f6baf4fee2b15e28e879c
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();