新来电修改 1171/5
authorhcj <1224667075@qq.com>
Sat, 12 Oct 2024 11:35:43 +0000 (19:35 +0800)
committerhcj <1224667075@qq.com>
Sat, 12 Oct 2024 11:35:43 +0000 (19:35 +0800)
code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp

index 259ccb7..8e5b3c4 100644 (file)
@@ -647,6 +647,10 @@ void MsgCenterNotifyHfpWatchHintProc(const Topic topic, Request* req)
     }
     
     //NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_ONE);
+    
+    if(NotificationManager::GetInstance()->HasNotifyShowing())
+    NotificationManager::GetInstance()->StopNotify();
+
     NotificationManager::GetInstance()->ShowNotify(showcallhintNotify,
                                                            static_cast<uint16_t>(topic), true);
 }