From: jy910.yun Date: Thu, 4 Oct 2012 04:45:28 +0000 (+0900) Subject: fix the bug regarding haptic_level_auto. X-Git-Tag: 2.1b_release~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18ab00acb56ac34dc9bdc4c4d1b372af8d17d41f;p=platform%2Fcore%2Fapi%2Fhaptic.git fix the bug regarding haptic_level_auto. Change-Id: I2ef296fa33dc3ed697a379b1a639cf83b696fe76 --- diff --git a/packaging/capi-system-haptic.spec b/packaging/capi-system-haptic.spec index 5c62aeb..faf4378 100644 --- a/packaging/capi-system-haptic.spec +++ b/packaging/capi-system-haptic.spec @@ -2,7 +2,7 @@ Name: capi-system-haptic Summary: A Haptic library in Tizen C API Version: 0.1.0 -Release: 19 +Release: 21 Group: TO_BE/FILLED_IN License: TO BE FILLED IN Source0: %{name}-%{version}.tar.gz @@ -58,6 +58,14 @@ rm -rf %{buildroot} %{_libdir}/libcapi-system-haptic.so %changelog +* Thu Oct 04 2012 - Jiyoung Yun +- fix the bug regarding haptic_level_auto +- Tag : capi-system-haptic_0.1.0-21 + +* Fri Sep 21 2012 - Jiyoung Yun +- Add smack label +- Tag : capi-system-haptic_0.1.0-20 + * Thu Sep 06 2012 - Jiyoung Yun - fix TC error - Tag : capi-system-haptic_0.1.0-19 diff --git a/src/haptic.c b/src/haptic.c index c05fd2a..186a92f 100644 --- a/src/haptic.c +++ b/src/haptic.c @@ -173,7 +173,6 @@ int haptic_vibrate_monotone(int device_index, int duration_ms, int level) if(level == HAPTIC_LEVEL_0) return HAPTIC_ERROR_NONE; - level = (level == HAPTIC_LEVEL_AUTO) ? 0 : level; ret = device_haptic_play_monotone_with_detail_feedback_level(haptic_ids[device_index], duration_ms, level); if(ret < 0){