Merge commit 'cfe90ce461eacf3ae6a8556594a0f682a31cfb84' into eclair-mr2-plus-aosp * commit 'cfe90ce461eacf3ae6a8556594a0f682a31cfb84': Fix issue #2281046: Size and pressure don't change
This commit is contained in:
@@ -288,6 +288,10 @@ public class InputDevice {
|
||||
+ " weight: (" + x + "," + y + ")");
|
||||
mAveragedData[ioff + MotionEvent.SAMPLE_X] = x;
|
||||
mAveragedData[ioff + MotionEvent.SAMPLE_Y] = y;
|
||||
mAveragedData[ioff + MotionEvent.SAMPLE_PRESSURE] =
|
||||
rawData[ioff + MotionEvent.SAMPLE_PRESSURE];
|
||||
mAveragedData[ioff + MotionEvent.SAMPLE_SIZE] =
|
||||
rawData[ioff + MotionEvent.SAMPLE_SIZE];
|
||||
}
|
||||
return mAveragedData;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user