4gai去除多余查询,解决连接中界面多次addbug 2089/1 2089/head 2090/target/1
authorluozheng <1732036298@qq.com>
Sat, 16 Aug 2025 02:39:53 +0000 (10:39 +0800)
committerluozheng <1732036298@qq.com>
Sat, 16 Aug 2025 02:39:53 +0000 (10:39 +0800)
code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceConnectingView.cpp
code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoicePresenter.cpp

index 76bace2..542b308 100644 (file)
@@ -310,7 +310,6 @@ namespace OHOS
         connectingAnimatorView->SetRepeat(true);
         connectingAnimatorView->SetAutoEnable(false);
         connectingAnimatorView->SetResizeMode(UIImageView::FILL);
-        scrollView->Add(connectingAnimatorView);
         connectingAnimatorView->Start();
 
         return true;
index adb6e79..e35d3f6 100644 (file)
@@ -587,7 +587,7 @@ namespace OHOS
                     // usleep(50000);
                     set_clear_queue_stream(1);
                     LOS_Msleep(100);
-                    uapi_UI_start_asr(AiVoiceModel::GetInstance().GetCurUsing4GAiModelType());
+                    // uapi_UI_start_asr(AiVoiceModel::GetInstance().GetCurUsing4GAiModelType());
                     ChangeViewAndLogicOperator(AIVOICE_RETURN_RESULT_TEXT_VIEWID, AIVOICE_AIMODE_CONNECTING);
                     return true;
                 }