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

Commit 29e900b9 authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Reset split selection state on animation end instead of success

When overview button tapped in while in overview,
the animation to undo split gets cancelled
(probably because Launcher gets destroyed before the animation
can fully run successfully)

Fixes: 201011797
Test: Same steps in bug don't cause placeholder view
to be shown

Change-Id: I2ea1eac637d6f2a3185d50d01601d3588ec9f535
parent d58e7b6f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3928,9 +3928,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
            pendingAnim.addOnFrameCallback(this::updateCurveProperties);
        }

        pendingAnim.addListener(new AnimationSuccessListener() {
        pendingAnim.addListener(new AnimatorListenerAdapter() {
            @Override
            public void onAnimationSuccess(Animator animator) {
            public void onAnimationEnd(Animator animation) {
                // TODO(b/186800707) Figure out how to undo for grid view
                //  Need to handle cases where dismissed task is
                //  * Top Row