Merge "Reset touch state when removing all tasks in RecentsView.applyLoadPlan" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-04-22 17:33:06 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 1 deletions

View File

@@ -1440,7 +1440,7 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
return Math.abs(velocity) > threshold;
}
private void resetTouchState() {
protected void resetTouchState() {
releaseVelocityTracker();
mIsBeingDragged = false;
mActivePointerId = INVALID_POINTER;