projects
/
test
/
tct
/
native
/
api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1cada4
)
[UTC][device][Non-ACR][Vibrate before close haptic handle]
author
pr.jung
<pr.jung@samsung.com>
Tue, 17 Jan 2017 10:02:52 +0000
(19:02 +0900)
committer
pr.jung
<pr.jung@samsung.com>
Tue, 17 Jan 2017 10:02:52 +0000
(19:02 +0900)
Change-Id: Id4044075bc6428153c66bc33b9ce2ebc84513ebc
Signed-off-by: pr.jung <pr.jung@samsung.com>
src/utc/device/utc-system-device-haptic.c
patch
|
blob
|
history
diff --git
a/src/utc/device/utc-system-device-haptic.c
b/src/utc/device/utc-system-device-haptic.c
index 4a9015ee668d31255ee15e18a023fb4df5afc0b2..c0c6afdb0ecbc7985095daab288d0a66ea6cbfd8 100755
(executable)
--- 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