毁设备绑定视图时添加停止定时器
authorluozheng <1732036298@qq.com>
Sat, 13 Apr 2024 03:33:37 +0000 (11:33 +0800)
committerluozheng <1732036298@qq.com>
Sat, 13 Apr 2024 03:33:37 +0000 (11:33 +0800)
code/sdk/application/wearable/service/msg_center/src/notify/pairing_notification.cpp

index 756c196..d36b2ed 100644 (file)
@@ -2,7 +2,7 @@
  * @Author: luozheng 1732036298@qq.com
  * @Date: 2024-03-22 10:04:36
  * @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-04-12 15:46:18
+ * @LastEditTime: 2024-04-13 11:32:36
  * @FilePath: /FD230/code/sdk/application/wearable/service/msg_center/src/notify/pairing_notification.cpp
  */
 #include "notification_manager.h"
@@ -540,6 +540,7 @@ namespace OHOS
     void FreeDeviceBindingView(void)
     {
         WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "[FreeDeviceBindingView]");
+        PairingViewEventListener::GetInstance().Pairing_StopTimer();
         if (DeviceBindingView != nullptr)
         {
             DeviceBindingView->RemoveAll();