修复设备端断开蓝牙操作 3277/1 3277/head 3297/target/1
authorxue <2144439972@qq.com>
Mon, 16 Mar 2026 08:39:48 +0000 (16:39 +0800)
committerxue <2144439972@qq.com>
Mon, 16 Mar 2026 08:39:48 +0000 (16:39 +0800)
code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp

index 086ba66..32b1ec9 100644 (file)
@@ -324,6 +324,11 @@ namespace OHOS
             else if(currentSubView == ThunderBirdBlueView::THUNDERBIRD_BULEVIEW_DISCONNECT_CONFIRM)
             {
                 ThunderBirdBlueView::GetInstance()->ExecuteDisconnect();
+                ln_bt_scan_stop();
+                ThunderBirdMainView::GetInstance()->ChangeView(
+                    currentView, 
+                    THUNDERBIRD_DIALOGUEVIEW, 
+                    ThunderBirdDialogueView::THUNDERBIRD_DIALOGUEVIEW_STATUS_SHOW);
             }
             return true;
         }