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
This commit is contained in:
TreeHugger Robot
2021-05-13 21:28:05 +00:00
committed by Automerger Merge Worker

View File

@@ -1730,6 +1730,8 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
// 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);
}
}