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

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

Change-Id: Id9b60dab440c309a70a9767dce7b03919044fcb7
This commit is contained in:
TreeHugger Robot
2021-05-13 21:57:31 +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);
}
}