summaryrefslogtreecommitdiffstats
path: root/cmds/input
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2013-07-22 13:58:45 -0700
committerMichael Wright <michaelwr@google.com>2013-07-22 13:58:45 -0700
commit77a2dabf01039da8dfe0bf43d41b223d79a8c9d2 (patch)
treef40e160b0b2e305e6c14fcb33993b633a018eb61 /cmds/input
parentd55e18eceac46160440054c6725b3461a1ccc1dd (diff)
downloadframeworks_base-77a2dabf01039da8dfe0bf43d41b223d79a8c9d2.zip
frameworks_base-77a2dabf01039da8dfe0bf43d41b223d79a8c9d2.tar.gz
frameworks_base-77a2dabf01039da8dfe0bf43d41b223d79a8c9d2.tar.bz2
Fix swipe end location
Change-Id: I997ca30dc5399b36e13516c4aeadbdf6fa357df7
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 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);
}
/**