From: Caisking Date: Mon, 19 Jan 2026 06:18:13 +0000 (+0800) Subject: 修复ota下载时 无logo的bug X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=77c2b16229b2ed07fedacacdc89df9477ffddb3b;p=mirrors%2FFD230.git 修复ota下载时 无logo的bug --- diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/systemupdate/src/SystemUpdateView.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/systemupdate/src/SystemUpdateView.cpp index a4777910c..cd7ce6d7c 100644 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/systemupdate/src/SystemUpdateView.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/systemupdate/src/SystemUpdateView.cpp @@ -603,15 +603,9 @@ namespace OHOS WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "SystemUpdateView::FOOINGLOGOImage new fail!"); return; } - FOOINGLOGOImage->SetPosition(117, 87, 230, 160); - #ifdef CUSTOM_Z1 - // const char *imagesPath = "/user/res/system/FOOINGLOGO.bin"; - // FOOINGLOGOImage->SetSrc(imagesPath); - - #else - const char *imagesPath = "/user/res/system/FOOINGLOGO.bin"; + FOOINGLOGOImage->SetPosition(193, 130, 80, 88); + const char *imagesPath = "/user/system/FOOINGOTALOGO.bin"; FOOINGLOGOImage->SetSrc(imagesPath); - #endif /* --------------------------- LatestVersionLabel --------------------------- */ Config = { .left = 33, diff --git a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/transmitting.cpp b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/transmitting.cpp index a924e9daa..24005b104 100644 --- a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/transmitting.cpp +++ b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/transmitting.cpp @@ -55,7 +55,7 @@ namespace OHOS #define TRANSMITTING_SUCC_PATH PNG_SUCC_IMAGE; #define TRANSMITTING_FAIL_PATH PNG_ATTENTION_IMAGE; - #define TRANSMITTING_OTA_DOWN "/user/system/FOOINGLOGO.bin" + #define TRANSMITTING_OTA_DOWN "/user/system/FOOINGOTALOGO.bin" @@ -300,7 +300,7 @@ namespace OHOS WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "SystemUpdateView::FOOINGLOGOImage new fail!"); } - transmitting_img->SetPosition(117, 87, 230, 160); + transmitting_img->SetPosition(193, 130, 80, 88); const char *imagesPath = TRANSMITTING_OTA_DOWN; transmitting_img->SetSrc(imagesPath); UIViewGroup_transmitting->Add(transmitting_img); diff --git a/code/sdk/files/fd272/fs/user/system/FOOINGOTALOGO.bin b/code/sdk/files/fd272/fs/user/system/FOOINGOTALOGO.bin new file mode 100644 index 000000000..6cfa04322 Binary files /dev/null and b/code/sdk/files/fd272/fs/user/system/FOOINGOTALOGO.bin differ