Merge "Correct onActionDown trackpad offset values"
diff --git a/quickstep/src/com/android/quickstep/inputconsumers/MotionEventsHandler.java b/quickstep/src/com/android/quickstep/inputconsumers/MotionEventsHandler.java
index 2373822..54edde6 100644
--- a/quickstep/src/com/android/quickstep/inputconsumers/MotionEventsHandler.java
+++ b/quickstep/src/com/android/quickstep/inputconsumers/MotionEventsHandler.java
@@ -54,8 +54,8 @@
public void onActionDown(MotionEvent ev) {
mActivePointerId = ev.getPointerId(0);
if (isTrackpadMotionEvent(ev)) {
- mCurrentTrackpadOffsetX = ev.getAxisValue(AXIS_GESTURE_X_OFFSET);
- mCurrentTrackpadOffsetY = ev.getAxisValue(AXIS_GESTURE_Y_OFFSET);
+ mCurrentTrackpadOffsetX = 0;
+ mCurrentTrackpadOffsetY = 0;
} else {
mDownPos.set(ev.getX(), ev.getY());
mLastPos.set(mDownPos);