From 77e26fce8e5160163d041740ac0bd6f34728373c Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Thu, 7 Oct 2010 13:44:51 -0700 Subject: [PATCH] Minor fix for InputReader support for non-touchscreen devices. Change-Id: I2256e37dd1c6f3836f82786aae14ee5d0c98f4c6 --- libs/ui/InputReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ui/InputReader.cpp b/libs/ui/InputReader.cpp index 8e173aa6b..7adc764ab 100644 --- a/libs/ui/InputReader.cpp +++ b/libs/ui/InputReader.cpp @@ -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);