优化对话
authorxue <2144439972@qq.com>
Thu, 27 Nov 2025 11:20:03 +0000 (19:20 +0800)
committerxue <2144439972@qq.com>
Thu, 27 Nov 2025 11:20:03 +0000 (19:20 +0800)
code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp
code/sdk/zhihui/leiniao/imsl_ln/ln_api_websocket.c

index 5736366..1ce6cb0 100644 (file)
@@ -477,6 +477,7 @@ namespace OHOS
             //清空音频文本队列
             ThunderBirdModel::GetInstance()->ClearAudioTextQueue();
         } else if(currentView == THUNDERBIRD_DIALOGUEVIEW && currentSubView == ThunderBirdDialogueView::THUNDERBIRD_DIALOGUEVIEW_SPEAKING) {
+            ln_ws_send_voice_chat_interrupt("新对话开始");
             WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "开始录音,跳转到聆听状态");
             // 开始录音
             ThunderBirdMainView::GetInstance()->ChangeView(currentView, THUNDERBIRD_DIALOGUEVIEW, ThunderBirdDialogueView::THUNDERBIRD_DIALOGUEVIEW_LISTENING);
index b96db84..2549a54 100644 (file)
@@ -701,7 +701,7 @@ int ln_ws_start_audio_chat(ln_audio_chat_command_t command_type)
         LN_WS_WARN("Audio chat already active: %s\n", g_audio_chat_ctx.chat_id);
         return 0;
     }
-     ln_ws_send_voice_chat_interrupt("新对话开始");
+    //  ln_ws_send_voice_chat_interrupt("新对话开始"); //修改为结束与按键开始打断
 
     AI_ForceInterrupt();