summaryrefslogtreecommitdiff
path: root/cmds/input
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/input')
-rw-r--r--cmds/input/src/com/android/commands/input/Input.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/input/src/com/android/commands/input/Input.java b/cmds/input/src/com/android/commands/input/Input.java
index c38a34870cac..473b60c4f277 100644
--- a/cmds/input/src/com/android/commands/input/Input.java
+++ b/cmds/input/src/com/android/commands/input/Input.java
@@ -213,7 +213,7 @@ public class Input {
lerp(y1, y2, alpha), 1.0f);
now = SystemClock.uptimeMillis();
}
- injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x1, y1, 0.0f);
+ injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x2, y2, 0.0f);
}
/**