summaryrefslogtreecommitdiff
path: root/quickstep/src
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2022-06-06 22:28:09 +0000
committerWinson Chung <winsonc@google.com>2022-06-06 22:28:09 +0000
commit29c68e73dc844a4411eb7739559f9ae3d4b8b643 (patch)
treef0b3f7f734011dda58ba8a83dc4288bff6981ac1 /quickstep/src
parentc2c1fdad548f95210131e2881286163cb5ab90d1 (diff)
downloadLauncher3-29c68e73dc844a4411eb7739559f9ae3d4b8b643.tar.gz
Revert changes waiting for launcher to resume when transitioning to home
- This was added for Go when they had their own recents implementation and isn't necessary for the default implementation Bug: 229668039 Test: Follow steps using test apk from the bug Change-Id: I0c36f98683e1bf9a3dc11cde2d1113ed1c4d6448
Diffstat (limited to 'quickstep/src')
-rw-r--r--quickstep/src/com/android/launcher3/QuickstepTransitionManager.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java
index 9f35401df0..de745b99e6 100644
--- a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java
+++ b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java
@@ -1698,15 +1698,6 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
return;
}
- if (!mLauncher.hasBeenResumed()) {
- // If launcher is not resumed, wait until new async-frame after resume
- mLauncher.addOnResumeCallback(() ->
- postAsyncCallback(mHandler, () ->
- onCreateAnimation(transit, appTargets, wallpaperTargets,
- nonAppTargets, result)));
- return;
- }
-
if (mLauncher.hasSomeInvisibleFlag(PENDING_INVISIBLE_BY_WALLPAPER_ANIMATION)) {
mLauncher.addForceInvisibleFlag(INVISIBLE_BY_PENDING_FLAGS);
mLauncher.getStateManager().moveToRestState();