From: xue <2144439972@qq.com> Date: Wed, 10 Dec 2025 04:11:20 +0000 (+0800) Subject: 修改py升级UI(补) X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=3bd0dc7daae4633ed7d625341a0514c911c78833;p=mirrors%2FFD230.git 修改py升级UI(补) --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp index c39ddbbde..cd0751562 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp @@ -218,6 +218,7 @@ namespace OHOS } case THUNDERBIRD_DIALOGUEVIEW_STATUS_SHOW: { + ScreenAlwaysOnCtr(CANCEL_SCREEN_ALWAYS_ON); // uapi_set_sleep_mode_active(false);//睡眠模式激活标志位 ThunderBirdModel::GetInstance()->HighFrequence(); // 从ThunderBirdModel获取当前表情和状态文本 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 0ec72427b..e8eab5340 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 @@ -465,7 +465,7 @@ extern "C" { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdModel::UpdateOtaStatus: %d", status); m_otaStatus = status; // 更新状态检查 - if(status == 1 || status == 2)//OTA升级 + if(status == 1 || status == 2 || status == 3)//OTA升级,3为py升级 { SetViewModel(); //do_ln_http_server_send_data(LN_HTTP_SERVICE_CMD_WS_ENTER_SLEEP, NULL, 0);