Merge "Play fallback animation when overlay is shown." into sc-v2-dev am: 44fcfa5bfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16202910 Change-Id: I08c3abb11c6c9926b1fd8e4af177e092ad20ec44
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user