diff options
author | Mathias Agopian <mathias@google.com> | 2011-07-20 18:51:15 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-06-27 17:07:55 -0700 |
commit | 16c3e4ae72e543f53a82f393dd287c11db8a7a80 (patch) | |
tree | 686210337e18a31e0fddcba370337ea1b0aa45fe /services/sensorservice/SensorService.cpp | |
parent | 7b2b32f2e761a919deb6f82d978b379429f77b05 (diff) | |
download | frameworks_native-16c3e4ae72e543f53a82f393dd287c11db8a7a80.zip frameworks_native-16c3e4ae72e543f53a82f393dd287c11db8a7a80.tar.gz frameworks_native-16c3e4ae72e543f53a82f393dd287c11db8a7a80.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.cpp | 6 |
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); } |