summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjy910.yun <jy910.yun@samsung.com>2012-10-04 13:45:28 +0900
committerjy910.yun <jy910.yun@samsung.com>2012-10-24 12:30:03 +0900
commit18ab00acb56ac34dc9bdc4c4d1b372af8d17d41f (patch)
tree1f45657f38683a88e50b0eaf70bcedbf1fdccae6
parent5acf64489d6a8c1c44f395c7200c624144218358 (diff)
downloadhaptic-18ab00acb56ac34dc9bdc4c4d1b372af8d17d41f.tar.gz
haptic-18ab00acb56ac34dc9bdc4c4d1b372af8d17d41f.tar.bz2
haptic-18ab00acb56ac34dc9bdc4c4d1b372af8d17d41f.zip
fix the bug regarding haptic_level_auto.
Change-Id: I2ef296fa33dc3ed697a379b1a639cf83b696fe76
-rw-r--r--packaging/capi-system-haptic.spec10
-rw-r--r--src/haptic.c1
2 files changed, 9 insertions, 2 deletions
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 <jy910.yun@samsung.com>
+- fix the bug regarding haptic_level_auto
+- Tag : capi-system-haptic_0.1.0-21
+
+* Fri Sep 21 2012 - Jiyoung Yun <jy910.yun@samsung.com>
+- Add smack label
+- Tag : capi-system-haptic_0.1.0-20
+
* Thu Sep 06 2012 - Jiyoung Yun <jy910.yun@samsung.com>
- 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){