mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 00:36:49 +00:00
Use falllback animation when going back to no icon
Test: Open settings from the shade (not on home screen) and go back, ensure animates reasonably Bug: 197656915 Change-Id: I78baa3ad03655f66b9e9727e62247ec8a15f3bf9
This commit is contained in:
@@ -1540,11 +1540,13 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
if (anim == null) {
|
||||
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)
|
||||
|| mLauncher.isForceInvisible());
|
||||
|
||||
View workspaceView = findWorkspaceView(appTargets);
|
||||
boolean playWorkspaceReveal = true;
|
||||
if (mFromUnlock) {
|
||||
anim.play(getUnlockWindowAnimator(appTargets, wallpaperTargets));
|
||||
|
||||
Reference in New Issue
Block a user