Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3cc2f46c authored by Tony Wickham's avatar Tony Wickham Committed by Android (Google) Code Review
Browse files

Merge "Fix duplicate depth animations when swiping from overview to home" into sc-dev

parents a357d6da 950388bf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -78,6 +78,10 @@ public class OverviewToHomeAnim {
        }

        StateAnimationConfig config = new StateAnimationConfig();
        if (playWorkspaceRevealAnim) {
            // WorkspaceRevealAnim handles the depth, so don't interfere.
            config.animFlags |= StateAnimationConfig.SKIP_DEPTH_CONTROLLER;
        }
        config.duration = startState.getTransitionDuration(mLauncher);
        AnimatorSet stateAnim = stateManager.createAtomicAnimation(
                startState, NORMAL, config);