From: xue <2144439972@qq.com> Date: Tue, 16 Dec 2025 08:57:52 +0000 (+0800) Subject: 修复关机为最高优先级 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=a2891fd8413388815540317d77fd6c147e9d8f7d;p=mirrors%2FFD230.git 修复关机为最高优先级 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp index b43e9b9fb..b53e79dfa 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp @@ -246,6 +246,8 @@ namespace OHOS AI_ForceInterrupt(); ln_ws_send_voice_chat_interrupt("关机"); do_custom_cmd_service_check_msg(CUSTOM_CMD_MSG_AUDIO_DEINIT, NULL, 0); + // 关闭WebSocket连接,屏蔽小程序下发的命令 + ln_ws_stop(); NativeAbility::GetInstance().SwitchSlice(VIEW_REBOOT); return true; }