From: hcj <1224667075@qq.com> Date: Fri, 11 Oct 2024 04:57:17 +0000 (+0800) Subject: 增加+号过滤,挂断电话(补 X-Git-Tag: release_V1.2.70_20241020_135402~60^2~14 X-Git-Url: http://git.snicker.com.cn/css/static/query_param.html?a=commitdiff_plain;h=dc0d61ac5c5aa6694cd4199a404748fb381833ec;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 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) {