修复ota下载时 无logo的bug
authorCaisking <Casiking@zhihuishixun.com>
Mon, 19 Jan 2026 06:18:13 +0000 (14:18 +0800)
committerCaisking <Casiking@zhihuishixun.com>
Mon, 19 Jan 2026 06:18:13 +0000 (14:18 +0800)
code/sdk/application/wearable/fd272/nativeapp/nativeui/systemupdate/src/SystemUpdateView.cpp
code/sdk/application/wearable/fd272/service/msg_center/src/notify/transmitting.cpp
code/sdk/files/fd272/fs/user/system/FOOINGOTALOGO.bin [new file with mode: 0644]

index a477791..cd7ce6d 100644 (file)
@@ -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,
index a924e9d..24005b1 100644 (file)
@@ -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 (file)
index 0000000..6cfa043
Binary files /dev/null and b/code/sdk/files/fd272/fs/user/system/FOOINGOTALOGO.bin differ