Minor fix for InputReader support for non-touchscreen devices.
Change-Id: I2256e37dd1c6f3836f82786aae14ee5d0c98f4c6
This commit is contained in:
@@ -2447,7 +2447,7 @@ void TouchInputMapper::dispatchTouch(nsecs_t when, uint32_t policyFlags,
|
||||
yPrecision = mLocked.orientedYPrecision;
|
||||
} // release lock
|
||||
|
||||
getDispatcher()->notifyMotion(when, getDeviceId(), AINPUT_SOURCE_TOUCHSCREEN, policyFlags,
|
||||
getDispatcher()->notifyMotion(when, getDeviceId(), getSources(), policyFlags,
|
||||
motionEventAction, 0, getContext()->getGlobalMetaState(), motionEventEdgeFlags,
|
||||
pointerCount, pointerIds, pointerCoords,
|
||||
xPrecision, yPrecision, mDownTime);
|
||||
|
||||
Reference in New Issue
Block a user