summaryrefslogtreecommitdiffstats
path: root/services/sensorservice/SensorFusion.cpp
diff options
context:
space:
mode:
authorAravind Akella <aakella@google.com>2013-09-16 15:37:41 -0700
committerAravind Akella <aakella@google.com>2013-09-16 15:49:49 -0700
commitbf72deea2f9982a09c6a95f94cfa1654bc8c684f (patch)
tree1eed9ceac02da292e2dc3195c258042ddcf21f21 /services/sensorservice/SensorFusion.cpp
parenta2ba428a22125558a129c6ba4001dfc2169de2fe (diff)
downloadframeworks_native-bf72deea2f9982a09c6a95f94cfa1654bc8c684f.zip
frameworks_native-bf72deea2f9982a09c6a95f94cfa1654bc8c684f.tar.gz
frameworks_native-bf72deea2f9982a09c6a95f94cfa1654bc8c684f.tar.bz2
Fix for AOSP fusion sensors not handling multiple clients correctly.
Bug: 10786801 Change-Id: I7b938bc583a303a30237c3d93b5accbf64cc90b5
Diffstat (limited to 'services/sensorservice/SensorFusion.cpp')
-rw-r--r--services/sensorservice/SensorFusion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/sensorservice/SensorFusion.cpp b/services/sensorservice/SensorFusion.cpp
index 27967dc..03f94be 100644
--- a/services/sensorservice/SensorFusion.cpp
+++ b/services/sensorservice/SensorFusion.cpp
@@ -103,7 +103,7 @@ status_t SensorFusion::activate(void* ident, bool enabled) {
}
if (enabled) {
- ALOGD("SensorFusion calling batch ident=%p ", ident);
+ ALOGD_IF(DEBUG_CONNECTIONS, "SensorFusion calling batch ident=%p ", ident);
// Activating a sensor in continuous mode is equivalent to calling batch with the default
// period and timeout equal to ZERO, followed by a call to activate.
mSensorDevice.batch(ident, mAcc.getHandle(), 0, DEFAULT_EVENTS_PERIOD, 0);