From: luozheng <1732036298@qq.com> Date: Wed, 20 Aug 2025 11:19:50 +0000 (+0800) Subject: 解决uapi_UI_start_asr 多次调用问题 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F2113%2F1;p=mirrors%2FFD230.git 解决uapi_UI_start_asr 多次调用问题 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp index 1f0b8c373..c4ee9a6f9 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp @@ -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); }