summaryrefslogtreecommitdiff
path: root/src/modules/eeze
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-04-19 10:00:11 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2013-04-19 10:00:11 +0100
commit3c167a964b33c7773942eef9491624e6e779450f (patch)
tree4455795cdff36065904a07a71a00dc863eb16ba0 /src/modules/eeze
parent27a711b83cd8a8f56c6f4c103087523da374299b (diff)
eeze/sensor/tizen: Fix start and stop from sensors during init and shutdown
Diffstat (limited to 'src/modules/eeze')
-rw-r--r--src/modules/eeze/sensor/tizen/tizen.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/modules/eeze/sensor/tizen/tizen.c b/src/modules/eeze/sensor/tizen/tizen.c
index 7a06baa3c5..e3ae016b55 100644
--- a/src/modules/eeze/sensor/tizen/tizen.c
+++ b/src/modules/eeze/sensor/tizen/tizen.c
@@ -1313,9 +1313,8 @@ eeze_sensor_tizen_shutdown(void)
1313 EINA_LIST_FREE(esensor_module->sensor_list, obj) 1313 EINA_LIST_FREE(esensor_module->sensor_list, obj)
1314 free(obj); 1314 free(obj);
1315 1315
1316 sensor_start(sensor_handle, SENSOR_MOTION_FACEDOWN); 1316 sensor_stop(sensor_handle, SENSOR_MOTION_FACEDOWN);
1317 sensor_start(sensor_handle, SENSOR_MOTION_DOUBLETAP); 1317 sensor_stop(sensor_handle, SENSOR_MOTION_DOUBLETAP);
1318 sensor_start(sensor_handle, SENSOR_MOTION_SHAKE);
1319 if (sensor_destroy(sensor_handle) != 0) 1318 if (sensor_destroy(sensor_handle) != 0)
1320 { 1319 {
1321 ERR("Failing to destroy sensor handle."); 1320 ERR("Failing to destroy sensor handle.");
@@ -1391,8 +1390,6 @@ sensor_tizen_shutdown(void)
1391{ 1390{
1392 Eeze_Sensor_Obj *sens; 1391 Eeze_Sensor_Obj *sens;
1393 1392
1394 sensor_stop(sensor_handle, SENSOR_MOTION_FACEDOWN);
1395 sensor_stop(sensor_handle, SENSOR_MOTION_DOUBLETAP);
1396 eeze_sensor_module_unregister("tizen"); 1393 eeze_sensor_module_unregister("tizen");
1397 EINA_LIST_FREE(esensor_module->sensor_list, sens) 1394 EINA_LIST_FREE(esensor_module->sensor_list, sens)
1398 free(sens); 1395 free(sens);