From dc0d61ac5c5aa6694cd4199a404748fb381833ec Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Fri, 11 Oct 2024 12:57:17 +0800 Subject: [PATCH] =?utf8?q?=E5=A2=9E=E5=8A=A0+=E5=8F=B7=E8=BF=87=E6=BB=A4?= =?utf8?q?=EF=BC=8C=E6=8C=82=E6=96=AD=E7=94=B5=E8=AF=9D(=E8=A1=A5?= 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, 3 insertions(+), 2 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 1ebb93539..32a47cd4e 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 @@ -1048,7 +1048,8 @@ void MsgCenterNotifyCat1CallEndedProc(const Topic topic, Request* req) unused(req); // just stop the notify - //AlarmClockModel::GetInstance()->AlarmPlayerStop(); + AlarmClockModel::GetInstance()->AlarmPlayerStop(); + if(!NotificationManager::GetInstance()->GetWatchCallStatus()) { return; @@ -1070,7 +1071,7 @@ void MsgCenterNotifyCat1CallEndedProc(const Topic topic, Request* req) { offset_call++; } - + if(strcmp(CallerLogModel::GetInstance()->GetPhoneNumber().c_str()+offset_watch,call_data+offset_call)!=0 && CallerLogModel::GetInstance()->GetCallSource()==CallerLogModel::CallSourceCat1) { -- 2.17.1