From de43d1effde02552a6c0c25d087a8dcbdc3b3290 Mon Sep 17 00:00:00 2001 From: xue <2144439972@qq.com> Date: Sat, 11 Apr 2026 21:39:50 +0800 Subject: [PATCH] =?utf8?q?=E5=8F=96=E6=B6=88=E6=95=85=E4=BA=8B=E8=B6=85?= =?utf8?q?=E6=97=B6=E5=AE=9A=E6=97=B6=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/thunderbird/src/ThunderBirdModel.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp index 0cf1b14be..b523f65bd 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp @@ -3978,17 +3978,18 @@ extern "C" { if (currentView == THUNDERBIRD_LULLABYVIEW && currentSubView == ThunderBirdLullabyView::THUNDERBIRD_LULLABYVIEW_4) { - // 如果是第一句音频播放完成,启动5秒超时定时器 + // 如果是第一句音频播放完成,启动5秒超时定时器(首句暂不开启,见下行注释) if (!m_firstStoryAudioPlayed) { - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdModel::HandleAudioPlaybackEnd: 第一句音频播放完成,启动5秒超时定时器"); + WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, + "ThunderBirdModel::HandleAudioPlaybackEnd: 第一句音频播放完成(暂不启动5秒超时定时器)"); m_firstStoryAudioPlayed = true; - StartStoryAudioPlaybackTimeoutTimer(); + // StartStoryAudioPlaybackTimeoutTimer(); /* 先注释:第一句播完不开启5秒超时 */ } else { // 后续音频播放结束,刷新5秒超时定时器 WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdModel::HandleAudioPlaybackEnd: 故事模式音频播放结束,刷新5秒超时定时器"); // 停止旧的定时器并重新启动,实现刷新 - StopStoryAudioPlaybackTimeoutTimer(); - StartStoryAudioPlaybackTimeoutTimer(); + // StopStoryAudioPlaybackTimeoutTimer(); + //StartStoryAudioPlaybackTimeoutTimer(); } } -- 2.17.1