Merge "Null out reference to RemoteAnimationTargets when animation finishes" into sc-v2-dev am: a35786c9c5

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

Change-Id: I7eed65e591c88638eb02c53b71c23a31ccc86867
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java
index ef52b41..853a3aa 100644
--- a/quickstep/src/com/android/quickstep/views/RecentsView.java
+++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
@@ -4062,6 +4062,7 @@
         setCurrentTask(-1);
         mRecentsAnimationController = null;
         executeSideTaskLaunchCallback();
+        mRemoteTargetHandles = null;
     }
 
     public void setDisallowScrollToClearAll(boolean disallowScrollToClearAll) {