From 82b7fbc7b9d555e75e8f12a9a04981aa874a2cc0 Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Sat, 12 Oct 2024 19:13:58 +0800 Subject: [PATCH] =?utf8?q?=E8=BF=90=E5=8A=A8=E8=AF=86=E5=88=AB=E6=B7=BB?= =?utf8?q?=E5=8A=A0=E8=AE=BE=E7=BD=AE=E5=BC=B9=E7=AA=97=E4=BC=98=E5=85=88?= =?utf8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/service/msg_center/src/msg_center_customer.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 0b3241acf..2b3c7a4a7 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 @@ -1261,6 +1261,10 @@ void MsgCenterNotifyFindWatchProc(const Topic topic, Request* req) NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_TWO); NotificationManager::GetInstance()->ShowNotify(showFindWatchNotify, (uint16_t)topic, true); } + else + { + WEARABLE_LOGI(WEARABLE_LOG_MODULE_APP, "NotifyPriority = %d ",NotificationManager::GetInstance()->GetNotifyPriority()); + } } //取消查找手表通知 @@ -1394,6 +1398,7 @@ void MsgCenterNotifyArAlertProc(const Topic topic, Request* req) if (CheckPriority(topic)) { MotionRecognitionViewEventListener::GetInstance().SetMotionTypeId(*motionType); + NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_TWO); NotificationManager::GetInstance()->ShowNotify(showMotionRecognitionNotify, (uint16_t)topic, true); } -- 2.17.1