summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Adam Powell <adamp@google.com> 2010-06-10 14:19:26 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2010-06-10 14:19:26 -0700
commita876b851fa5d6f63c6356f67122ff53dff799b22 (patch)
treecbd228b14fc7445eb8987231517bdb854ec259a8
parenta9aaf8ffcecf294c8da9785b5c5e1f055ee4d245 (diff)
parent45c3f843d652f383b727cbc0a8cdf1ac5b9e41cf (diff)
am 45c3f843: am 8f1bfb00: am 8f2ca788: Merge "Fix bug 2757693 - Multi-touch coordinates can jump when a finger goes down." into froyo
-rw-r--r--services/java/com/android/server/InputDevice.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/java/com/android/server/InputDevice.java b/services/java/com/android/server/InputDevice.java
index 07a74da8b4f0..414b69fabdc8 100644
--- a/services/java/com/android/server/InputDevice.java
+++ b/services/java/com/android/server/InputDevice.java
@@ -671,6 +671,8 @@ public class InputDevice {
System.arraycopy(lastData, i*MotionEvent.NUM_SAMPLE_DATA,
lastData, (i+1)*MotionEvent.NUM_SAMPLE_DATA,
(lastNumPointers-i)*MotionEvent.NUM_SAMPLE_DATA);
+ System.arraycopy(next2Last, i, next2Last,
+ i+1, lastNumPointers-i);
break;
}
i++;