From 1d8823b96b01dc90002261dd90523a6096fa6fad Mon Sep 17 00:00:00 2001 From: xue <2144439972@qq.com> Date: Fri, 21 Nov 2025 15:28:35 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96=E9=9F=B3=E9=A2=91=E4=B8=BA?= =?utf8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp index 75d6b9f69..079d93b6e 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp @@ -836,7 +836,7 @@ namespace OHOS bool wsConnected = (wsState == 2); // WS_STATE_CONNECTED = 2 //只要开机的时候检查 - if (!wsConnected && ThunderBirdModel::GetInstance()->init_falg == false) { + if (!wsConnected && ThunderBirdModel::GetInstance()->init_falg == false && ln_ws_is_audio_initialized() == false) { // WebSocket未连接,显示网络断开提醒界面,不设置定时器 WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "进入对话模式时WebSocket未连接,显示网络断开提醒 (wsState=%d)", wsState); // 设置标志,表示用户想要进入对话模式但因为WebSocket未连接而显示提醒 -- 2.17.1