From eacb1490c3df572304be771a665fa01e9e517d14 Mon Sep 17 00:00:00 2001 From: 2301_76695984 Date: Mon, 11 Aug 2025 16:53:55 +0800 Subject: [PATCH 1/2] update Signed-off-by: 2301_76695984 --- BasicServicesKit/commonevent/oh_commonevent_support.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/BasicServicesKit/commonevent/oh_commonevent_support.h b/BasicServicesKit/commonevent/oh_commonevent_support.h index 622e86aeb6c..dfc3a694091 100644 --- a/BasicServicesKit/commonevent/oh_commonevent_support.h +++ b/BasicServicesKit/commonevent/oh_commonevent_support.h @@ -577,6 +577,13 @@ static const char* const COMMON_EVENT_MINORSMODE_OFF = "usual.event.MINORSMODE_O * @since 15 */ static const char* const COMMON_EVENT_MANAGED_BROWSER_POLICY_CHANGED = "usual.event.MANAGED_BROWSER_POLICY_CHANGED"; +/** + * @brief This common event means that screen capture. + * This is a protected common event that can only be sent by system. + * + * @since 20 + */ + static const char* const COMMON_EVENT_SCREEN_CAPTURE = "usual.event.SCREEN_CAPTURE"; #ifdef __cplusplus } #endif -- Gitee From e89f6c9fbbe1d17d86f34e592dde83a82000e36c Mon Sep 17 00:00:00 2001 From: zeng Date: Wed, 13 Aug 2025 10:33:15 +0800 Subject: [PATCH 2/2] update share Signed-off-by: zeng --- BasicServicesKit/commonevent/oh_commonevent_support.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BasicServicesKit/commonevent/oh_commonevent_support.h b/BasicServicesKit/commonevent/oh_commonevent_support.h index dfc3a694091..906a1a17de9 100644 --- a/BasicServicesKit/commonevent/oh_commonevent_support.h +++ b/BasicServicesKit/commonevent/oh_commonevent_support.h @@ -583,7 +583,7 @@ static const char* const COMMON_EVENT_MANAGED_BROWSER_POLICY_CHANGED = "usual.ev * * @since 20 */ - static const char* const COMMON_EVENT_SCREEN_CAPTURE = "usual.event.SCREEN_CAPTURE"; + static const char* const COMMON_EVENT_SCREEN_SHARE = "usual.event.SCREEN_SHARE"; #ifdef __cplusplus } #endif -- Gitee