From: xue <2144439972@qq.com> Date: Mon, 20 Oct 2025 04:03:50 +0000 (+0800) Subject: 优化OTA跳转逻辑 X-Git-Tag: V1.0.9_20251128_194606_LN~204 X-Git-Url: http://git.snicker.com.cn/?a=commitdiff_plain;h=31d67ebbadf7e7aba2f8faec271d0c29307191fa;p=mirrors%2FFD230.git 优化OTA跳转逻辑 --- 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 8d1f5dba5..c9de5716c 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 @@ -2277,15 +2277,10 @@ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdModel::HandleDownloadFile: Unknown download type: %d", type); break; } - - // 确保屏幕保持亮屏状态,避免下载过程中息屏 + //do_ln_http_server_send_data(LN_HTTP_SERVICE_CMD_WS_ENTER_SLEEP, NULL, 0); uapi_set_screen_on_api(); // 亮屏 - - // 发送下载开始通知,但不强制中断AI语音(避免息屏) + AI_ForceInterrupt(); ln_ws_send_voice_chat_interrupt("开始下载"); - - // 切换到OTA界面 - NativeAbility::GetInstance().ChangeSlice(VIEW_OTA); } void ThunderBirdModel::HandleAudioPlaybackStart()