增加+号过滤,挂断电话(补
authorhcj <1224667075@qq.com>
Fri, 11 Oct 2024 04:57:17 +0000 (12:57 +0800)
committerhcj <1224667075@qq.com>
Fri, 11 Oct 2024 04:57:17 +0000 (12:57 +0800)
code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp

index 1ebb935..32a47cd 100644 (file)
@@ -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)
     {