summaryrefslogtreecommitdiffstats
path: root/libs/ui
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
commit8da727a1aa28205b9fb8acf63808ce1543bbf00e (patch)
tree50200abec1b1b2fae614c95c1ce3e94d2c493e42 /libs/ui
parentd577cfd73a223279f9a5af698f55edd38a3fe4db (diff)
downloadframeworks_base-8da727a1aa28205b9fb8acf63808ce1543bbf00e.zip
frameworks_base-8da727a1aa28205b9fb8acf63808ce1543bbf00e.tar.gz
frameworks_base-8da727a1aa28205b9fb8acf63808ce1543bbf00e.tar.bz2
Minor fix for InputReader support for non-touchscreen devices.
Change-Id: I2256e37dd1c6f3836f82786aae14ee5d0c98f4c6
Diffstat (limited to 'libs/ui')
-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);