19d6481956
SensorFusion is always returning data at the slowest possible sampling rate (5 Hz). batch() is getting called twice, first time with the requested rate and second time with the slowest rate (which overwrites the requested rate). Fix batch call in SensorFusion::activate()
Bug: 12064319
Change-Id: If62f3e514233f69810336fd22b136b4395b667d3
(cherry picked from commit
|
||
---|---|---|
.. | ||
tests | ||
Android.mk | ||
BatteryService.cpp | ||
BatteryService.h | ||
CorrectedGyroSensor.cpp | ||
CorrectedGyroSensor.h | ||
Fusion.cpp | ||
Fusion.h | ||
GravitySensor.cpp | ||
GravitySensor.h | ||
LinearAccelerationSensor.cpp | ||
LinearAccelerationSensor.h | ||
main_sensorservice.cpp | ||
mat.h | ||
OrientationSensor.cpp | ||
OrientationSensor.h | ||
quat.h | ||
RotationVectorSensor.cpp | ||
RotationVectorSensor.h | ||
SensorDevice.cpp | ||
SensorDevice.h | ||
SensorFusion.cpp | ||
SensorFusion.h | ||
SensorInterface.cpp | ||
SensorInterface.h | ||
SensorService.cpp | ||
SensorService.h | ||
traits.h | ||
vec.h |