Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f78df93 authored by Tony Wickham's avatar Tony Wickham
Browse files

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
parent b90a951f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -167,6 +167,7 @@ public abstract class TaskViewTouchController<T extends BaseDraggingActivity>
                                mAllowGoingDown = true;
                                directionsToDetectScroll = DIRECTION_BOTH;
                            } else {
                                mAllowGoingDown = false;
                                directionsToDetectScroll = upDirection;
                            }
                        }