Merge "Play fallback animation when overlay is shown." into sc-v2-dev
This commit is contained in:
commit
44fcfa5bfd
1 file changed
+2
-1
@@ -1558,7 +1558,8 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
|||||||
|
|
||||||
View workspaceView = findWorkspaceView(appTargets);
|
View workspaceView = findWorkspaceView(appTargets);
|
||||||
boolean isWorkspaceViewVisible = workspaceView != null
|
boolean isWorkspaceViewVisible = workspaceView != null
|
||||||
&& !mLauncher.isInState(LauncherState.ALL_APPS);
|
&& !mLauncher.isInState(LauncherState.ALL_APPS)
|
||||||
|
&& !mLauncher.getWorkspace().isOverlayShown();
|
||||||
boolean playFallBackAnimation = !isWorkspaceViewVisible
|
boolean playFallBackAnimation = !isWorkspaceViewVisible
|
||||||
&& (launcherIsATargetWithMode(appTargets, MODE_OPENING)
|
&& (launcherIsATargetWithMode(appTargets, MODE_OPENING)
|
||||||
|| mLauncher.isForceInvisible());
|
|| mLauncher.isForceInvisible());
|
||||||
|
|||||||
Reference in new issue
Block a user