Merge "Fix bug where it is hard to swipe to work profile tab." into ub-launcher3-rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-11 01:32:41 +00:00
committed by Android (Google) Code Review
+1 -1
View File
@@ -917,7 +917,7 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
// Remember location of down touch
mDownMotionX = x;
mDownMotionY = y;
mLastMotion = mOrientationHandler.getPrimaryDirection(ev, 0);
mDownMotionPrimary = mLastMotion = mOrientationHandler.getPrimaryDirection(ev, 0);
mLastMotionRemainder = 0;
mTotalMotion = 0;
mActivePointerId = ev.getPointerId(0);