From: xue <2144439972@qq.com> Date: Fri, 16 Jan 2026 10:07:56 +0000 (+0800) Subject: 修复产测还是会息屏的问题 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=5fe8ab5a9aa4455b9b1b92ac4f539c9b80056d7e;p=mirrors%2FFD230.git 修复产测还是会息屏的问题 --- 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 405155edb..156a9590e 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 @@ -1594,8 +1594,10 @@ extern "C" { if (m_alwaysOnRefreshActive) { m_alwaysOnRefreshTime++; // 50分钟 = 3000秒 - if (m_alwaysOnRefreshTime >= 3000) { + if (m_alwaysOnRefreshTime >= 600) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "TimeDisplayCallback: Refreshing screen always-on (50 minutes elapsed)"); + ScreenAlwaysOnCtr(CANCEL_SCREEN_ALWAYS_ON); + LOS_Msleep(1000); ScreenAlwaysOnCtr(OPEN_SCREEN_ALWAYS_ON); m_alwaysOnRefreshTime = 0; // 重置计数器 }