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

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

No files matched your search

+1 -1
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;