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

Commit ed92a14e authored by Vinit Nayak's avatar Vinit Nayak Committed by Android (Google) Code Review
Browse files

Merge "Fix split selection for 3P launcher with animations off" into main

parents b0f37b73 b2741521
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -117,9 +117,7 @@ public class FallbackRecentsStateController implements StateHandler<RecentsState

        setter.setViewBackgroundColor(mActivity.getScrimView(), state.getScrimColor(mActivity),
                config.getInterpolator(ANIM_SCRIM_FADE, LINEAR));

        RecentsState currentState = mActivity.getStateManager().getState();
        if (isSplitSelectionState(state) && !isSplitSelectionState(currentState)) {
        if (isSplitSelectionState(state)) {
            int duration = state.getTransitionDuration(mActivity, true /* isToState */);
            // TODO (b/246851887): Pass in setter as a NO_ANIM PendingAnimation instead
            PendingAnimation pa = new PendingAnimation(duration);