forked from enlightenment/efl
eeze/sensor: Fail if we can't find the sensor object.
We might have asked for a sensor that is not supported on this device. Let the application know about this. SVN revision: 76917
This commit is contained in:
parent
dede039b35
commit
63c3e6cc3c
|
@ -134,6 +134,7 @@ eeze_sensor_new(Eeze_Sensor_Type type)
|
|||
if (!sens) return NULL;
|
||||
|
||||
sens = eeze_sensor_obj_get(type);
|
||||
if (!sens) return NULL;
|
||||
|
||||
module = _highest_priority_module_get();
|
||||
if (!module) return EINA_FALSE;
|
||||
|
|
Loading…
Reference in New Issue