OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75b6a6b
)
Fix bug 2757693 - Multi-touch coordinates can jump when a finger goes down.
author
Adam Powell
<adamp@google.com>
Thu, 10 Jun 2010 00:10:04 +0000
(17:10 -0700)
committer
Adam Powell
<adamp@google.com>
Thu, 10 Jun 2010 00:10:04 +0000
(17:10 -0700)
Change-Id: I26bd54cec739ca8d91d2c2b18b90134f20dbd907
services/java/com/android/server/InputDevice.java
patch
|
blob
|
history
diff --git
a/services/java/com/android/server/InputDevice.java
b/services/java/com/android/server/InputDevice.java
index
07a74da
..
414b69f
100644
(file)
--- 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++;