From 4e5664ac28fdaf1881408bc430fced6d27cc8396 Mon Sep 17 00:00:00 2001 From: Jon Miranda Date: Fri, 5 Nov 2021 16:16:12 -0700 Subject: [PATCH] Play fallback animation when overlay is shown. Bug: 205086529 Test: go to -1, click to open app, swipe back Change-Id: I905511e0ac7576d2134a10088289a5ca37d1b257 --- .../src/com/android/launcher3/QuickstepTransitionManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java index a83f51ade9..51d7914ee8 100644 --- a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java +++ b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java @@ -1558,7 +1558,8 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener View workspaceView = findWorkspaceView(appTargets); boolean isWorkspaceViewVisible = workspaceView != null - && !mLauncher.isInState(LauncherState.ALL_APPS); + && !mLauncher.isInState(LauncherState.ALL_APPS) + && !mLauncher.getWorkspace().isOverlayShown(); boolean playFallBackAnimation = !isWorkspaceViewVisible && (launcherIsATargetWithMode(appTargets, MODE_OPENING) || mLauncher.isForceInvisible());