summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-10-07 13:44:51 -0700
committerJeff Brown <jeffbrown@google.com>2010-10-07 13:44:51 -0700
commit77e26fce8e5160163d041740ac0bd6f34728373c (patch)
tree6e184260a05d400c6c5ec20eb741d426dbbf8e6f /libs
parent95cefd9bdc01dceff188efece588ec420778414d (diff)
downloadframeworks_native-77e26fce8e5160163d041740ac0bd6f34728373c.zip
frameworks_native-77e26fce8e5160163d041740ac0bd6f34728373c.tar.gz
frameworks_native-77e26fce8e5160163d041740ac0bd6f34728373c.tar.bz2
Minor fix for InputReader support for non-touchscreen devices.
Change-Id: I2256e37dd1c6f3836f82786aae14ee5d0c98f4c6
Diffstat (limited to 'libs')
-rw-r--r--libs/ui/InputReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ui/InputReader.cpp b/libs/ui/InputReader.cpp
index 8e173aa..7adc764 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);