From 77a2dabf01039da8dfe0bf43d41b223d79a8c9d2 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Mon, 22 Jul 2013 13:58:45 -0700 Subject: Fix swipe end location Change-Id: I997ca30dc5399b36e13516c4aeadbdf6fa357df7 --- cmds/input/src/com/android/commands/input/Input.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/input') diff --git a/cmds/input/src/com/android/commands/input/Input.java b/cmds/input/src/com/android/commands/input/Input.java index c38a348..473b60c 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); } /** -- cgit v1.1