summaryrefslogtreecommitdiffstats
path: root/services/sensorservice/SensorService.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-07-20 18:51:15 -0700
committerMathias Agopian <mathias@google.com>2011-07-20 18:51:15 -0700
commitf9a4b1366e6d77f5044a4a8de8f14d391baf6a2b (patch)
treed92e1931edc8e015c0c72ae09249c795c40802cd /services/sensorservice/SensorService.cpp
parent9d29d155c51a26d789cce2c4c24c659487c63554 (diff)
downloadframeworks_base-f9a4b1366e6d77f5044a4a8de8f14d391baf6a2b.zip
frameworks_base-f9a4b1366e6d77f5044a4a8de8f14d391baf6a2b.tar.gz
frameworks_base-f9a4b1366e6d77f5044a4a8de8f14d391baf6a2b.tar.bz2
silence sensorservice when it's dropping events
Change-Id: Ib05862e545aa780821aa605e45ab189f530494b7
Diffstat (limited to 'services/sensorservice/SensorService.cpp')
-rw-r--r--services/sensorservice/SensorService.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/sensorservice/SensorService.cpp b/services/sensorservice/SensorService.cpp
index e0dce1f..5b74fb8 100644
--- a/services/sensorservice/SensorService.cpp
+++ b/services/sensorservice/SensorService.cpp
@@ -586,12 +586,12 @@ status_t SensorService::SensorEventConnection::sendEvents(
if (size == -EAGAIN) {
// the destination doesn't accept events anymore, it's probably
// full. For now, we just drop the events on the floor.
- LOGW("dropping %d events on the floor", count);
+ //LOGW("dropping %d events on the floor", count);
return size;
}
- LOGE_IF(size<0, "dropping %d events on the floor (%s)",
- count, strerror(-size));
+ //LOGE_IF(size<0, "dropping %d events on the floor (%s)",
+ // count, strerror(-size));
return size < 0 ? status_t(size) : status_t(NO_ERROR);
}