commit | 8a4b7e0b9e9da19fa1316da197cb95b6d502bb49 | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Tue May 18 18:21:31 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 18 18:21:31 2021 +0000 |
tree | 9a5b97edaa37e77c1929d15048b47c4ee156df95 | |
parent | 88e529f3bb3aa2aebc6e59f098154a989bdbe08b [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: I7c0484125255c654668f09e75d69c57a32df5a83
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();