OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b2b32f
)
silence sensorservice when it's dropping events
author
Mathias Agopian
<mathias@google.com>
Thu, 21 Jul 2011 01:51:15 +0000
(18:51 -0700)
committer
Mathias Agopian
<mathias@google.com>
Thu, 28 Jun 2012 00:07:55 +0000
(17:07 -0700)
Change-Id: Ib05862e545aa780821aa605e45ab189f530494b7
services/sensorservice/SensorService.cpp
patch
|
blob
|
history
diff --git
a/services/sensorservice/SensorService.cpp
b/services/sensorservice/SensorService.cpp
index
e0dce1f
..
5b74fb8
100644
(file)
--- 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);
}