From 7aaf6fa0db6fda733e7c7ce3850575711cf9fb5c Mon Sep 17 00:00:00 2001 From: LLDawn Date: Fri, 21 Nov 2025 17:19:28 +0800 Subject: [PATCH] =?UTF-8?q?HarmonyOS=E4=BB=93=E5=90=8C=E6=AD=A5OpenHarmony?= =?UTF-8?q?=E4=BB=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CommonEvent/entry/src/main/ets/pages/CreatSubscribeInfo.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Basic-Services-Kit/common_event/CommonEvent/entry/src/main/ets/pages/CreatSubscribeInfo.ets b/Basic-Services-Kit/common_event/CommonEvent/entry/src/main/ets/pages/CreatSubscribeInfo.ets index 4f13ec8146a..3e439a85461 100644 --- a/Basic-Services-Kit/common_event/CommonEvent/entry/src/main/ets/pages/CreatSubscribeInfo.ets +++ b/Basic-Services-Kit/common_event/CommonEvent/entry/src/main/ets/pages/CreatSubscribeInfo.ets @@ -25,7 +25,7 @@ const DOMAIN_NUMBER: number = 0xFF00; let subscriber: commonEventManager.CommonEventSubscriber | null = null; // 订阅者信息,其中的event字段需要替换为实际的事件名称。 let subscribeInfo: commonEventManager.CommonEventSubscribeInfo = { - events: ['event'], // 订阅灭屏公共事件 + events: [commonEventManager.Support.COMMON_EVENT_SCREEN_OFF], // 订阅灭屏公共事件 }; // [End CreateSubscriberInformation] -- Gitee