From 84293b6ae18159dbea7b0c016a24d0508903587d Mon Sep 17 00:00:00 2001 From: xue <2144439972@qq.com> Date: Wed, 28 Jan 2026 11:36:44 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96=E6=95=85=E4=BA=8B=E6=93=8D?= =?utf8?q?=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 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 504470f4a..147dc93cb 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 @@ -3266,7 +3266,8 @@ extern "C" { } WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdModel::HandleStoryResponseFinished: 当前文本为'%s',确认为真正的finished", currentText.c_str()); } - + //进入哄睡模式时,心跳间隔设置为30秒 + ln_ws_set_heartbeat_interval_sec(30); m_storyModeFinished = true; } } @@ -4028,8 +4029,7 @@ extern "C" { // 进入哄睡模式时记录当前表情(进入THUNDERBIRD_LULLABYVIEW_4时调用) void ThunderBirdModel::OnEnterLullabyMode() { - //进入哄睡模式时,心跳间隔设置为30秒 - ln_ws_set_heartbeat_interval_sec(30); + // 记录进入哄睡模式前的时间线表情(用于退出时恢复) m_lullabyExpression = "winking"; WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdModel::OnEnterLullabyMode: 记录时间线表情: %s", m_currentExpression.c_str()); -- 2.17.1