From 4a36c8566b44c0bed7c5c4f55acd64b80eb4c376 Mon Sep 17 00:00:00 2001 From: libo429 Date: Tue, 15 Oct 2024 10:04:05 +0800 Subject: [PATCH] add system event Signed-off-by: libo429 --- BasicServicesKit/commonevent/oh_commonevent_support.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BasicServicesKit/commonevent/oh_commonevent_support.h b/BasicServicesKit/commonevent/oh_commonevent_support.h index 6d1256b95..b840fd120 100644 --- a/BasicServicesKit/commonevent/oh_commonevent_support.h +++ b/BasicServicesKit/commonevent/oh_commonevent_support.h @@ -555,6 +555,14 @@ static const char* const COMMON_EVENT_MINORSMODE_ON = "usual.event.MINORSMODE_ON * @since 12 */ static const char* const COMMON_EVENT_MINORSMODE_OFF = "usual.event.MINORSMODE_OFF"; + +/** + * @brief Indicates that an application begins to restored. + * This is a protected common event that can only be sent by system. + * + * @since 13 + */ +static const char* const COMMON_EVENT_RESTORE_START = "usual.event.RESTORE_START"; #ifdef __cplusplus } #endif -- Gitee