Loading services/sensorservice/SensorService.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -1273,10 +1273,13 @@ bool SensorService::threadLoop() { } else { int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; disconnectDynamicSensor(handle, activeConnections); if (sensorservice_flags:: sensor_service_clear_dynamic_sensor_data_at_the_end()) { device.cleanupDisconnectedDynamicSensor(handle); } } } } // Send our events to clients. Check the state of wake lock for each client and release the // lock if none of the clients need it. Loading Loading
services/sensorservice/SensorService.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -1273,10 +1273,13 @@ bool SensorService::threadLoop() { } else { int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; disconnectDynamicSensor(handle, activeConnections); if (sensorservice_flags:: sensor_service_clear_dynamic_sensor_data_at_the_end()) { device.cleanupDisconnectedDynamicSensor(handle); } } } } // Send our events to clients. Check the state of wake lock for each client and release the // lock if none of the clients need it. Loading