增加必要判断,优化代码逻辑
authorxue <2144439972@qq.com>
Mon, 29 Sep 2025 03:36:37 +0000 (11:36 +0800)
committerxue <2144439972@qq.com>
Mon, 29 Sep 2025 03:36:37 +0000 (11:36 +0800)
code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp

index 87d0502..33a8a59 100644 (file)
@@ -566,7 +566,7 @@ namespace OHOS
         {
         switch (currentSubView) {
             case ThunderBirdAdjustView::THUNDERBIRD_ADJUSTVIEW_BIND_SUCCESS:
-                ThunderBirdModel::GetInstance()->ota_update_boot();
+                ThunderBirdModel::GetInstance()->ota_update_boot();//绑定成功后获取ota升级任务
                 ThunderBirdMainView::GetInstance()->ChangeView(currentView, THUNDERBIRD_DIALOGUEVIEW, ThunderBirdDialogueView::THUNDERBIRD_DIALOGUEVIEW_STATUS_SHOW);
                 break;
             case ThunderBirdAdjustView::THUNDERBIRD_ADJUSTVIEW_WARNING: