Explicitly set mAllowGoingDown = false when only up is allowed

Test: swipe up and down on a task, then scroll to clear all and
try it again; should go up but not down in the second case
Fixes: 187349538

Change-Id: I0879bafb3b5bb3c5ced8a502c98bfba7a3ce8a51
This commit is contained in:
Tony Wickham 2021-05-05 16:55:07 -07:00
parent b90a951fed
commit 4f78df9300
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@ public abstract class TaskViewTouchController<T extends BaseDraggingActivity>
mAllowGoingDown = true;
directionsToDetectScroll = DIRECTION_BOTH;
} else {
mAllowGoingDown = false;
directionsToDetectScroll = upDirection;
}
}