Fix description for device_haptic_vibrate() 96/193696/1 accepted/tizen/unified/20181130.064921 submit/tizen/20181129.005631
authorHyotaek Shim <hyotaek.shim@samsung.com>
Fri, 23 Nov 2018 08:08:40 +0000 (17:08 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Fri, 23 Nov 2018 08:48:58 +0000 (08:48 +0000)
Change-Id: Iabc365960f4508371527460d7740c8117a8d7e42
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
(cherry picked from commit 1648f7704022cab5213585c03d20e0543ff28e35)

include/haptic.h

index 26c292d..6a67285 100644 (file)
@@ -111,6 +111,7 @@ int device_haptic_close(haptic_device_h device_handle);
  * @privilege %http://tizen.org/privilege/haptic
  * @remarks @a feedback level is reserved for auto changing to save variable in the settings.
  * @remarks @a effect_handle effect_handle value can be @c 0(zero).
+ * @remarks To prevent unexpected sleep (suspend) during vibration, please use @ref CAPI_SYSTEM_DEVICE_POWER_MODULE.
  * @param[in] device_handle The device handle from device_haptic_open()
  * @param[in] duration The play duration in milliseconds
  * @param[in] feedback The amount of the intensity variation (@c 0 ~ @c 100)
@@ -130,7 +131,6 @@ int device_haptic_vibrate(haptic_device_h device_handle, int duration, int feedb
 /**
  * @brief Stops all vibration effects which are being played.
  * @details This function can be used to stop all effects started by device_haptic_vibrate().
- * @remarks To prevent unexpected sleep (suspend) during vibration, please use @ref CAPI_SYSTEM_DEVICE_POWER_MODULE.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/haptic