From 86c3bca7aac065d228c2f8e26d5e3a751adce9aa Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Thu, 16 Oct 2025 17:00:15 +0800 Subject: [PATCH] =?utf8?q?=E7=BB=91=E5=AE=9A=E5=BC=B9=E7=AA=97=E4=BC=98?= =?utf8?q?=E5=8C=96=EF=BC=8C=E8=A7=A3=E5=86=B3=E7=BB=91=E5=AE=9A=E5=BC=B9?= =?utf8?q?=E7=AA=97=E6=9C=89=E6=A6=82=E7=8E=87=E4=B8=8D=E5=87=BA=E7=8E=B0?= =?utf8?q?=E9=97=AE=E9=A2=98=EF=BC=8C272=EF=BC=8C230=EF=BC=8Cn9=E5=90=8C?= =?utf8?q?=E6=AD=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230/service/msg_center/src/msg_center_customer.cpp | 4 ++++ .../fd272/service/msg_center/src/msg_center_customer.cpp | 4 ++++ .../n9/service/msg_center/src/msg_center_customer.cpp | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/code/sdk/application/wearable/fd230/service/msg_center/src/msg_center_customer.cpp b/code/sdk/application/wearable/fd230/service/msg_center/src/msg_center_customer.cpp index 9e00b753b..3f96bdfa1 100644 --- a/code/sdk/application/wearable/fd230/service/msg_center/src/msg_center_customer.cpp +++ b/code/sdk/application/wearable/fd230/service/msg_center/src/msg_center_customer.cpp @@ -477,6 +477,10 @@ void MsgCenterNotifyDeviceBindProc(const Topic topic, Request* req) }else{ PairingViewEventListener::GetInstance().SetDeviceName(NULL); } + if(NotificationManager::GetInstance()->HasNotifyShowing()) + { + NotificationManager::GetInstance()->StopNotify(); + } NotificationManager::GetInstance()->ShowNotify(showDeviceBindingNotify, (uint16_t)topic, true); break; case DEVICEUNBIND: diff --git a/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp b/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp index f8c18b721..eb15c2b3e 100644 --- a/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp +++ b/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp @@ -472,6 +472,10 @@ void MsgCenterNotifyDeviceBindProc(const Topic topic, Request* req) }else{ PairingViewEventListener::GetInstance().SetDeviceName(NULL); } + if(NotificationManager::GetInstance()->HasNotifyShowing()) + { + NotificationManager::GetInstance()->StopNotify(); + } NotificationManager::GetInstance()->ShowNotify(showDeviceBindingNotify, (uint16_t)topic, true); break; case DEVICEUNBIND: diff --git a/code/sdk/application/wearable/n9/service/msg_center/src/msg_center_customer.cpp b/code/sdk/application/wearable/n9/service/msg_center/src/msg_center_customer.cpp index 37f7369c3..ab4e8b47b 100644 --- a/code/sdk/application/wearable/n9/service/msg_center/src/msg_center_customer.cpp +++ b/code/sdk/application/wearable/n9/service/msg_center/src/msg_center_customer.cpp @@ -472,6 +472,10 @@ void MsgCenterNotifyDeviceBindProc(const Topic topic, Request* req) }else{ PairingViewEventListener::GetInstance().SetDeviceName(NULL); } + if(NotificationManager::GetInstance()->HasNotifyShowing()) + { + NotificationManager::GetInstance()->StopNotify(); + } NotificationManager::GetInstance()->ShowNotify(showDeviceBindingNotify, (uint16_t)topic, true); break; case DEVICEUNBIND: -- 2.17.1