diff options
author | Adam Powell <adamp@google.com> | 2010-06-10 14:09:50 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-06-10 14:09:50 -0700 |
commit | 8f2ca788f369892370477212cf9e7a67721a8c16 (patch) | |
tree | 4111ae09406799e0a0c20727a29825bebbf70dc3 /services/java | |
parent | a2c6d5bf308181c019ade0aac6d25fe33dc3d76c (diff) | |
parent | 5cd88cfd239bc61a4327e2a13747b4590890d838 (diff) | |
download | frameworks_base-8f2ca788f369892370477212cf9e7a67721a8c16.zip frameworks_base-8f2ca788f369892370477212cf9e7a67721a8c16.tar.gz frameworks_base-8f2ca788f369892370477212cf9e7a67721a8c16.tar.bz2 |
Merge "Fix bug 2757693 - Multi-touch coordinates can jump when a finger goes down." into froyo
Diffstat (limited to 'services/java')
-rw-r--r-- | services/java/com/android/server/InputDevice.java | 2 |
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 07a74da..414b69f 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++; |