From: hcj <1224667075@qq.com> Date: Fri, 11 Oct 2024 06:46:59 +0000 (+0800) Subject: 修复ble断连误关其他弹窗问题 X-Git-Tag: release_V1.2.70_20241020_135402~60^2~12 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=b7a86e5a89e6a7664041b6c0329d30e1a8976dfe;p=mirrors%2FFD230.git 修复ble断连误关其他弹窗问题 --- 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); }