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

Commit e93ed69a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fixing allSet page not closed if recentsAnimation takes time to start"...

Merge "Fixing allSet page not closed if recentsAnimation takes time to start" into sc-v2-dev am: ef18f8c5 am: ff75c4fe

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16200930

Change-Id: Ia7eabd1f8317146eba56f47f16f40bb43c8a952e
parents 7d72c5d3 ff75c4fe
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -153,10 +153,8 @@ public class ProgressDelegateInputConsumer implements InputConsumer,

        ObjectAnimator anim = mProgress.animateToValue(endValue);
        anim.setDuration(duration).setInterpolator(scrollInterpolatorForVelocity(velocity));
        if (mRecentsAnimationController != null) {
        anim.addListener(AnimatorListeners.forSuccessCallback(
                () -> mStateCallback.setState(STATE_FLING_FINISHED)));
        }
        anim.start();
    }

+3 −0
Original line number Diff line number Diff line
@@ -136,6 +136,9 @@ public class AllSetActivity extends Activity {
    protected void onPause() {
        super.onPause();
        clearBinderOverride();
        if (mSwipeProgress.value >= 1) {
            finishAndRemoveTask();
        }
    }

    private void clearBinderOverride() {