From: pr.jung Date: Tue, 17 Jan 2017 10:02:52 +0000 (+0900) Subject: [UTC][device][Non-ACR][Vibrate before close haptic handle] X-Git-Tag: 4.0_Bringup~105^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd7b54e304863c6a05eb249cdeabf101979021e0;p=test%2Ftct%2Fnative%2Fapi.git [UTC][device][Non-ACR][Vibrate before close haptic handle] Change-Id: Id4044075bc6428153c66bc33b9ce2ebc84513ebc Signed-off-by: pr.jung --- diff --git a/src/utc/device/utc-system-device-haptic.c b/src/utc/device/utc-system-device-haptic.c index 4a9015ee6..c0c6afdb0 100755 --- a/src/utc/device/utc-system-device-haptic.c +++ b/src/utc/device/utc-system-device-haptic.c @@ -152,9 +152,11 @@ int utc_system_device_haptic_open_n_2(void) int utc_system_device_haptic_close_p(void) { haptic_device_h handle; + haptic_effect_h eh; int ret; device_haptic_open(0, &handle); + ret = device_haptic_vibrate(handle, 1000, 100, &eh); ret = device_haptic_close(handle); assert_eq(ret, DEVICE_ERROR_NONE); @@ -272,4 +274,4 @@ int utc_system_device_haptic_stop_n(void) return 0; } -#endif //COMMON_IOT \ No newline at end of file +#endif //COMMON_IOT