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

This commit is contained in:
TreeHugger Robot 2021-05-13 21:23:05 +00:00 committed by Android (Google) Code Review
commit e010332efd
1 changed files with 2 additions and 0 deletions

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);
}
}