From b7a86e5a89e6a7664041b6c0329d30e1a8976dfe Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Fri, 11 Oct 2024 14:46:59 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8Dble=E6=96=AD=E8=BF=9E=E8=AF=AF?= =?utf8?q?=E5=85=B3=E5=85=B6=E4=BB=96=E5=BC=B9=E7=AA=97=E9=97=AE=E9=A2=98?= 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, 2 insertions(+), 3 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 32a47cd4e..79fb96eba 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 @@ -1049,7 +1049,7 @@ void MsgCenterNotifyCat1CallEndedProc(const Topic topic, Request* req) // just stop the notify AlarmClockModel::GetInstance()->AlarmPlayerStop(); - + if(!NotificationManager::GetInstance()->GetWatchCallStatus()) { return; @@ -1617,14 +1617,13 @@ void MsgCenterNotifybleTransmit(const Topic topic, Request* req) if(data[0]==TRANS_FREE) { + if(transmittingISShow()) NotificationManager::GetInstance()->StopNotify(); } else { set_transmittingShow_falg(data[0]); - // if(NotificationManager::GetInstance()->HasNotifyShowing()) - // NotificationManager::GetInstance()->StopNotify(); NotificationManager::GetInstance()->ShowNotify(showtransmitNotify, (uint16_t)topic, true); } -- 2.17.1