解决uapi_UI_start_asr 多次调用问题 2110/target/2 2113/1 2113/head
authorluozheng <1732036298@qq.com>
Wed, 20 Aug 2025 11:19:50 +0000 (19:19 +0800)
committerluozheng <1732036298@qq.com>
Wed, 20 Aug 2025 11:19:50 +0000 (19:19 +0800)
code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp

index 1f0b8c3..c4ee9a6 100644 (file)
@@ -1485,7 +1485,7 @@ namespace OHOS
                 {
                     WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "4gAi服务初始化成功");
                     // SendMsgToUIService(UI_4G_AI_INIT_STAUS, 0, &state, sizeof(bool));
-                    uapi_UI_start_asr(AiVoiceModel::GetInstance().GetCurUsing4GAiModelType());
+                    // uapi_UI_start_asr(AiVoiceModel::GetInstance().GetCurUsing4GAiModelType());
                     AiVoiceModel::GetInstance().stop_ai4g_connect_timer();
                     p_AiVoicePresenter->ChangeViewAndLogicOperator(AIVOICE_4GSERVICECON_VIEW, AIVOICE_AIMODE_CONNECTING);
                 }