fix the bug regarding haptic_level_auto.
authorjy910.yun <jy910.yun@samsung.com>
Thu, 4 Oct 2012 04:45:28 +0000 (13:45 +0900)
committerjy910.yun <jy910.yun@samsung.com>
Wed, 24 Oct 2012 03:30:03 +0000 (12:30 +0900)
Change-Id: I2ef296fa33dc3ed697a379b1a639cf83b696fe76

packaging/capi-system-haptic.spec
src/haptic.c

index 5c62aeb..faf4378 100644 (file)
@@ -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
index c05fd2a..186a92f 100644 (file)
@@ -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){