From 99ce1b7a21e3814d0cfe5e85dc165a4d56d6a062 Mon Sep 17 00:00:00 2001 From: Yunhee Seo Date: Fri, 21 Mar 2025 15:52:40 +0900 Subject: [PATCH] touchscreen: Add privilege rule to touchscreen API There was no privilege rules in the touchscreen APIs. Proper privilege description is added. Change-Id: I58e3e929881a286157b8e74c10b2c9eb54f50615 Signed-off-by: Yunhee Seo --- include/touchscreen-internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/touchscreen-internal.h b/include/touchscreen-internal.h index 3759827..7c35458 100644 --- a/include/touchscreen-internal.h +++ b/include/touchscreen-internal.h @@ -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: -- 2.34.1