if (__sensorHandle < 0)
return;
- sensord_set_attribute_int(__sensorHandle, SENSORD_ATTRIBUTE_PAUSE_POLICY,
+ sensord_listener_set_attribute_int(__sensorHandle, SENSORD_ATTRIBUTE_PAUSE_POLICY,
__powerSave ? SENSORD_PAUSE_ALL : SENSORD_PAUSE_NONE);
}
void SensorAdapter::setAttribute(int key, int value)
{
IF_FAIL_VOID_TAG(__sensorHandle >= 0, _W, "Sensor not started");
- sensord_set_attribute_int(__sensorHandle, key, value);
+ sensord_listener_set_attribute_int(__sensorHandle, key, value);
}
bool SensorAdapter::start()