Merge "Enable free scroll immediately if gesture goes to overview" into sc-dev am: e010332efd

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

Change-Id: I465d062f328d7193b3cdb153645a44991e116394
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java
index aea03e0..396dafb 100644
--- a/quickstep/src/com/android/quickstep/views/RecentsView.java
+++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
@@ -1730,6 +1730,8 @@
             // When switching to tasks in quick switch, ensures the snapped page's scroll maintain
             // invariant between quick switch and overview, to ensure a smooth animation transition.
             updateGridProperties();
+        } else if (endTarget == GestureState.GestureEndTarget.RECENTS) {
+            setEnableFreeScroll(true);
         }
     }