diff options
| author | 2011-07-20 18:52:21 -0700 | |
|---|---|---|
| committer | 2011-07-20 18:52:21 -0700 | |
| commit | 48724c0c61c18ab23f3b8418d0bb0db511a7cccc (patch) | |
| tree | afcd9b09da2f9cfdd7fee6ebf9c6df74065465a4 | |
| parent | 22a72964edf52fc4e79d09a0c9a759bf4ee4aa8e (diff) | |
| parent | f9a4b1366e6d77f5044a4a8de8f14d391baf6a2b (diff) | |
Merge "silence sensorservice when it's dropping events"
| -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 e0dce1ff9d25..5b74fb809c33 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); } |