From 14101b64f5d1c88e024aa875fbbb34c5e610b25a Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Sat, 12 Oct 2024 19:35:43 +0800 Subject: [PATCH] =?utf8?q?=E6=96=B0=E6=9D=A5=E7=94=B5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/service/msg_center/src/msg_center_customer.cpp | 4 ++++ 1 file changed, 4 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 259ccb7d1..8e5b3c4f1 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 @@ -647,6 +647,10 @@ void MsgCenterNotifyHfpWatchHintProc(const Topic topic, Request* req) } //NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_ONE); + + if(NotificationManager::GetInstance()->HasNotifyShowing()) + NotificationManager::GetInstance()->StopNotify(); + NotificationManager::GetInstance()->ShowNotify(showcallhintNotify, static_cast(topic), true); } -- 2.17.1