From: Caisking <3449750381@qq.com> Date: Fri, 16 Aug 2024 10:22:15 +0000 (+0800) Subject: 同步配置 X-Git-Tag: release_V1.2.70_20241020_135402~651 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F710%2F1;p=mirrors%2FFD230.git 同步配置 --- 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;