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

Commit 650cc339 authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

Merge "Fixing animation regression due to ag/957220." into nyc-dev am: de917099

am: 74c195af

* commit '74c195af':
  Fixing animation regression due to ag/957220.

Change-Id: Ic0a9d3ccba46edc89ae7215ea15e8877e83db2ac
parents 64804b75 74c195af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -416,7 +416,7 @@ public class TaskStackLayoutAlgorithm {
        int prevFocusState = mFocusState;
        mFocusState = focusState;
        updateFrontBackTransforms();
        if (mCb != null && (prevFocusState != focusState)) {
        if (mCb != null) {
            mCb.onFocusStateChanged(prevFocusState, focusState);
        }
    }
+2 −2
Original line number Diff line number Diff line
@@ -1664,10 +1664,10 @@ public class TaskStackView extends FrameLayout implements TaskStack.TaskStackCal

    public final void onBusEvent(DismissRecentsToHomeAnimationStarted event) {
        // Stop any scrolling
        cancelDeferredTaskViewLayoutAnimation();
        mTouchHandler.finishAnimations();
        mStackScroller.stopScroller();
        mStackScroller.stopBoundScrollAnimation();
        mTouchHandler.finishAnimations();
        cancelDeferredTaskViewLayoutAnimation();

        // Start the task animations
        mAnimationHelper.startExitToHomeAnimation(event.animated, event.getAnimationTrigger());