Merge "Use falllback animation when going back to no icon" into sc-v2-dev am: 1ad55e6ab5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15933204 Change-Id: Iad0f08f8e788093a48ff85bfa42da1338573c018
This commit is contained in:
commit
c2a7481cd4
1 file changed
+4
-2
@@ -1555,11 +1555,13 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
|||||||
if (anim == null) {
|
if (anim == null) {
|
||||||
anim = new AnimatorSet();
|
anim = new AnimatorSet();
|
||||||
|
|
||||||
boolean playFallBackAnimation = mLauncher.isInState(LauncherState.ALL_APPS)
|
View workspaceView = findWorkspaceView(appTargets);
|
||||||
|
boolean isWorkspaceViewVisible = workspaceView != null
|
||||||
|
&& !mLauncher.isInState(LauncherState.ALL_APPS);
|
||||||
|
boolean playFallBackAnimation = !isWorkspaceViewVisible
|
||||||
&& (launcherIsATargetWithMode(appTargets, MODE_OPENING)
|
&& (launcherIsATargetWithMode(appTargets, MODE_OPENING)
|
||||||
|| mLauncher.isForceInvisible());
|
|| mLauncher.isForceInvisible());
|
||||||
|
|
||||||
View workspaceView = findWorkspaceView(appTargets);
|
|
||||||
boolean playWorkspaceReveal = true;
|
boolean playWorkspaceReveal = true;
|
||||||
if (mFromUnlock) {
|
if (mFromUnlock) {
|
||||||
anim.play(getUnlockWindowAnimator(appTargets, wallpaperTargets));
|
anim.play(getUnlockWindowAnimator(appTargets, wallpaperTargets));
|
||||||
|
|||||||
Reference in new issue
Block a user