From fe5fc3d57e1d40ecf5b78c08cd6da2b3921c8f59 Mon Sep 17 00:00:00 2001 From: xue <2144439972@qq.com> Date: Mon, 12 Jan 2026 11:02:44 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8D=E6=8C=89=E9=94=AE=E4=B8=8D?= =?utf8?q?=E8=83=BD=E6=89=93=E6=96=AD=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/thunderbird/src/ThunderBirdPresenter.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 266e26398..c3ad03467 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 @@ -463,13 +463,9 @@ namespace OHOS // ThunderBirdMainView::ComplexOperationThread(true); #else AI_ForceInterrupt(); - int endRet = ln_ws_end_audio_chat(); + ln_ws_end_audio_chat(); // 只有在成功结束音频聊天时才发送打断请求(确保chat_id有效) - if (endRet == 0) { - ln_ws_send_voice_chat_interrupt("新对话开始"); - } else { - WEARABLE_LOGW(WEARABLE_LOG_MODULE_APP, "HandleDialogueFunction: ln_ws_end_audio_chat failed (ret=%d), skip sending interrupt", endRet); - } + ln_ws_send_voice_chat_interrupt("新对话开始"); #endif // 0 auto* dialogueView = ThunderBirdDialogueView::GetInstance(); if (dialogueView) { -- 2.17.1