From: Yunhee Seo Date: Fri, 21 Mar 2025 06:52:40 +0000 (+0900) Subject: touchscreen: Add privilege rule to touchscreen API X-Git-Tag: accepted/tizen/unified/20250429.111541^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_unified_x;p=platform%2Fcore%2Fapi%2Fdevice.git 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 --- 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: