summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2010-10-07 14:35:38 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-10-07 14:35:38 -0700
commita1bf0a06b26ecc039adfdb98eab6fb984d5d5571 (patch)
treeaf2ca5d480065c043d00577d20ec4f1e304a5349
parent36a182870527f1d71f482e9a280bc818a4609cb6 (diff)
parent8da727a1aa28205b9fb8acf63808ce1543bbf00e (diff)
Merge "Minor fix for InputReader support for non-touchscreen devices." into gingerbread
-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 8e173aa6b0f8..7adc764ab65d 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);