From d05aeedd8101f7135d68f02c758a682b8c15e892 Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Fri, 16 Aug 2024 18:22:15 +0800 Subject: [PATCH] =?utf8?q?=E5=90=8C=E6=AD=A5=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/service/msg_center/src/msg_center_customer.cpp | 2 +- .../service/msg_center/src/notify/message_notification.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp b/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp index be9207fa4..b3865869d 100644 --- a/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp @@ -721,7 +721,7 @@ void MsgCenterNotifySleepProc(const Topic topic, Request* req) NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_TWO); if(true != ConfigModel::GetInstance()->GetDnotdisturb()) { - AlarmClockModel::GetInstance()->PopInterPlayMusic(); + SleepViewEventListener::GetInstance().PopInterPlayMusic(); } } else diff --git a/code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp b/code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp index dd6b7196a..599b2cda8 100644 --- a/code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp @@ -206,7 +206,7 @@ namespace OHOS ui_api_vibrate_once_func(); } - ScreenTurnOn(2000); // 亮屏操作 2000ms 2秒关闭 + ScreenTurnOn(3000); // 亮屏操作 3000ms 3秒关闭 WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "Create MessageGroupView succeed!!"); NotificationManager::GetInstance()->RegisterNotifyCleanupFunction(FreeMessageView); return MessageGroupView; -- 2.17.1