touchscreen: Add privilege rule to touchscreen API 50/323450/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20250429.111541 accepted/tizen/unified/x/20250430.012753
authorYunhee Seo <yuni.seo@samsung.com>
Fri, 21 Mar 2025 06:52:40 +0000 (15:52 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Mon, 28 Apr 2025 12:06:53 +0000 (21:06 +0900)
There was no privilege rules in the touchscreen APIs.
Proper privilege description is added.

Change-Id: I58e3e929881a286157b8e74c10b2c9eb54f50615
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
include/touchscreen-internal.h

index 37598273cbc3a0646bcb0aba4d77b41a56676f93..7c3545846172e0806c43e547c4d4ee16eeafa73f 100644 (file)
@@ -35,6 +35,7 @@ typedef void (*touchscreen_pending_cb)(GVariant *var, void *user_data, GError *e
  * @brief Enables the current device's touchscreen device to start.
  * @details Enables the touchscreen device and registers a callback function to be invoked when the operation is completed asynchronously.
  * @since_tizen 6.0
+ * @privilege %http://tizen.org/privilege/internal/default/platform
  * @remarks Ensure the callback @a cb signature is the as described below.
  * @param[in] cb The callback function to be called when the operation is completed.
  *               The callback function should have the following signature:
@@ -82,6 +83,7 @@ int device_touchscreen_enable(touchscreen_pending_cb cb);
  * @brief Disables the current device's touchscreen device to stop.
  * @details Disables the touchscreen device and registers a callback function to be invoked when the operation is completed asynchronously.
  * @since_tizen 6.0
+ * @privilege %http://tizen.org/privilege/internal/default/platform
  * @remarks Ensure the callback @a cb signature is the as described below.
  * @param[in] cb The callback function to be called when the operation is completed.
  *               The callback function should have the following signature: