From: xue <2144439972@qq.com> Date: Wed, 19 Nov 2025 07:33:33 +0000 (+0800) Subject: 增加8秒未检测到录音自动退出对话 X-Git-Tag: V1.0.9_20251128_194606_LN~46 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F2768%2Ftarget%2F1;p=mirrors%2FFD230.git 增加8秒未检测到录音自动退出对话 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp index 60103662f..142a283e1 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp @@ -223,7 +223,7 @@ namespace OHOS if (listenIcon) { listenIcon->SetVisible(true); } // 启动30秒超时定时器 if (ThunderBirdModel::GetInstance()) { - ThunderBirdModel::GetInstance()->StartCountUpTimer(30); // 30秒超时 + ThunderBirdModel::GetInstance()->StartCountUpTimer(8); // 6秒超时 WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdDialogueView: 启动聆听超时定时器,30秒后自动跳转"); } break;