Play fallback animation when overlay is shown.

Bug: 205086529
Test: go to -1, click to open app, swipe back
Change-Id: I905511e0ac7576d2134a10088289a5ca37d1b257
This commit is contained in:
Jon Miranda
2021-11-05 16:16:12 -07:00
parent d25e0fb3c3
commit 4e5664ac28

View File

@@ -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());