Merge "Minor fix for InputReader support for non-touchscreen devices." into gingerbread

This commit is contained in:
Jeff Brown
2010-10-07 14:35:38 -07:00
committed by Android (Google) Code Review

View File

@@ -2447,7 +2447,7 @@ void TouchInputMapper::dispatchTouch(nsecs_t when, uint32_t policyFlags,
yPrecision = mLocked.orientedYPrecision; yPrecision = mLocked.orientedYPrecision;
} // release lock } // release lock
getDispatcher()->notifyMotion(when, getDeviceId(), AINPUT_SOURCE_TOUCHSCREEN, policyFlags, getDispatcher()->notifyMotion(when, getDeviceId(), getSources(), policyFlags,
motionEventAction, 0, getContext()->getGlobalMetaState(), motionEventEdgeFlags, motionEventAction, 0, getContext()->getGlobalMetaState(), motionEventEdgeFlags,
pointerCount, pointerIds, pointerCoords, pointerCount, pointerIds, pointerCoords,
xPrecision, yPrecision, mDownTime); xPrecision, yPrecision, mDownTime);