summaryrefslogtreecommitdiffstats
path: root/libs/ui/InputDispatcher.cpp
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-10-25 17:37:46 -0700
committerJeff Brown <jeffbrown@google.com>2010-10-25 17:37:46 -0700
commit76860e3fe73a791b1b04f33d78b908eb3163b4b2 (patch)
treecea00ab372ea81c9d65ceb45b3beb33228f17796 /libs/ui/InputDispatcher.cpp
parent6dc0c73fb05bcac570a134242789512977201648 (diff)
downloadframeworks_base-76860e3fe73a791b1b04f33d78b908eb3163b4b2.zip
frameworks_base-76860e3fe73a791b1b04f33d78b908eb3163b4b2.tar.gz
frameworks_base-76860e3fe73a791b1b04f33d78b908eb3163b4b2.tar.bz2
Tweak log messages a bit.
Change-Id: Ifadf78c1ab8db49106216c70086f98860795c65f
Diffstat (limited to 'libs/ui/InputDispatcher.cpp')
-rw-r--r--libs/ui/InputDispatcher.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ui/InputDispatcher.cpp b/libs/ui/InputDispatcher.cpp
index 629234b..4c86ebe 100644
--- a/libs/ui/InputDispatcher.cpp
+++ b/libs/ui/InputDispatcher.cpp
@@ -1163,7 +1163,10 @@ int32_t InputDispatcher::findTouchedWindowTargetsLocked(nsecs_t currentTime,
// If the pointer is not currently down, then ignore the event.
if (! mTempTouchState.down) {
- LOGI("Dropping event because the pointer is not down.");
+#if DEBUG_INPUT_DISPATCHER_POLICY
+ LOGD("Dropping event because the pointer is not down or we previously "
+ "dropped the pointer down event.");
+#endif
injectionResult = INPUT_EVENT_INJECTION_FAILED;
goto Failed;
}
@@ -2775,7 +2778,7 @@ void InputDispatcher::dumpDispatchStateLocked(String8& dump) {
dump.append(INDENT "ActiveConnections:\n");
for (size_t i = 0; i < mActiveConnections.size(); i++) {
const Connection* connection = mActiveConnections[i];
- dump.appendFormat(INDENT2 "%d: '%s', status=%s, outboundQueueLength=%u"
+ dump.appendFormat(INDENT2 "%d: '%s', status=%s, outboundQueueLength=%u, "
"inputState.isNeutral=%s\n",
i, connection->getInputChannelName(), connection->getStatusLabel(),
connection->outboundQueue.count(),