Merge commit '05799981d8d930e0b929cdb99f9407e3ee18c142' into eclair-mr2 * commit '05799981d8d930e0b929cdb99f9407e3ee18c142': 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