Skip to content

Connect/disconnect from SensorDaemonInterface when Sensor::enabled changes

Arjen Hiemstra requested to merge work/ahiemstra/sensor_connect into master

setSensorId only connects when the sensor is enabled, which means we may not yet be connected if the sensor is created in a disabled context. Rather than always connecting, make the connections explicit only enabled when the sensor is enabled, so we do not do unneccessary work.

Merge request reports

Loading