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
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java
index 1c1dc9c..88f82a4 100644
--- a/quickstep/src/com/android/quickstep/views/RecentsView.java
+++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
@@ -3928,9 +3928,9 @@
             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