From: hcj <1224667075@qq.com> Date: Sat, 12 Oct 2024 11:35:43 +0000 (+0800) Subject: 新来电修改 X-Git-Tag: release_V1.2.70_20241020_135402~59^2~3 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F1171%2F5;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 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); }