Bug 739417 - InputReader doesn't send motion up events, r=cjones NPOTB DONTBUILD

This commit is contained in:
Michael Wu 2012-03-26 16:48:16 -07:00
parent cbffc9c65b
commit 9d74698690

View File

@ -5634,6 +5634,10 @@ void MultiTouchInputMapper::syncTouch(nsecs_t when, bool* outHavePointerIds) {
outPointer.tiltX = 0;
outPointer.tiltY = 0;
// Mozilla bug 739417
if (!outPointer.touchMajor)
continue;
outPointer.toolType = inSlot->getToolType();
if (outPointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) {
outPointer.toolType = mTouchButtonAccumulator.getToolType();