From: luozheng <1732036298@qq.com> Date: Mon, 29 Dec 2025 06:35:22 +0000 (+0800) Subject: 解决关于手表页面4G模组信息和py信息不显示问题 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F2991%2Fhead;p=mirrors%2FFD230.git 解决关于手表页面4G模组信息和py信息不显示问题 --- diff --git a/code/sdk/application/wearable/fd230/nativeapp/nativeui/system/src/SystemAboutTheWatchView.cpp b/code/sdk/application/wearable/fd230/nativeapp/nativeui/system/src/SystemAboutTheWatchView.cpp index 7d65c2d61..d9da6ea9b 100644 --- a/code/sdk/application/wearable/fd230/nativeapp/nativeui/system/src/SystemAboutTheWatchView.cpp +++ b/code/sdk/application/wearable/fd230/nativeapp/nativeui/system/src/SystemAboutTheWatchView.cpp @@ -5,6 +5,7 @@ #include "ConfigModel.h" #include "ui_resource_string.h" #include "common/screen.h" +#include #define WATCH_ABOUT_TITLE_HEIGHT 50 #define WATCH_ABOUT_VALUE_HEIGHT 80 @@ -438,7 +439,7 @@ namespace OHOS .height = LABEL_H, .fontSize = LABEL_FONTSIZE - 2, .lineHeigh = LABEL_LINEHEIGHT, - .text = ConfigModel::GetInstance()->GetmoderVer(), + .text = cat1_api_runtime_get_cat1_modemver(), .lineBreakMode = UILabel::LINE_BREAK_WRAP, }; Network4G = InitLabel(Config); @@ -475,7 +476,7 @@ namespace OHOS .height = LABEL_H, .fontSize = LABEL_FONTSIZE, .lineHeigh = LABEL_LINEHEIGHT, - .text = ConfigModel::GetInstance()->GetpyVer(), + .text = cat1_api_runtime_get_cat1_pyver(), .lineBreakMode = UILabel::LINE_BREAK_WRAP, }; PyVer = InitLabel(Config); @@ -549,7 +550,7 @@ namespace OHOS .height = LABEL_H, .fontSize = LABEL_FONTSIZE, .lineHeigh = TITLE_LABEL_LINEHEIGHT, - .text = ConfigModel::GetInstance()->Getimei(), + .text = cat1_api_runtime_get_cat1_imei(), .lineBreakMode = UILabel::LINE_BREAK_WRAP, }; IMEL = InitLabel(Config); diff --git a/code/sdk/application/wearable/n9/nativeapp/nativeui/system/src/SystemAboutTheWatchView.cpp b/code/sdk/application/wearable/n9/nativeapp/nativeui/system/src/SystemAboutTheWatchView.cpp index 4d9cdbc26..003d634a3 100644 --- a/code/sdk/application/wearable/n9/nativeapp/nativeui/system/src/SystemAboutTheWatchView.cpp +++ b/code/sdk/application/wearable/n9/nativeapp/nativeui/system/src/SystemAboutTheWatchView.cpp @@ -5,6 +5,7 @@ #include "ConfigModel.h" #include "ui_resource_string.h" #include "common/screen.h" +#include #define WATCH_ABOUT_TITLE_HEIGHT 50 #define WATCH_ABOUT_VALUE_HEIGHT 80 @@ -438,7 +439,7 @@ namespace OHOS .height = LABEL_H, .fontSize = LABEL_FONTSIZE - 2, .lineHeigh = LABEL_LINEHEIGHT, - .text = ConfigModel::GetInstance()->GetmoderVer(), + .text = cat1_api_runtime_get_cat1_modemver(), .lineBreakMode = UILabel::LINE_BREAK_WRAP, }; Network4G = InitLabel(Config); @@ -475,7 +476,7 @@ namespace OHOS .height = LABEL_H, .fontSize = LABEL_FONTSIZE, .lineHeigh = LABEL_LINEHEIGHT, - .text = ConfigModel::GetInstance()->GetpyVer(), + .text = cat1_api_runtime_get_cat1_pyver(), .lineBreakMode = UILabel::LINE_BREAK_WRAP, }; PyVer = InitLabel(Config); @@ -549,7 +550,7 @@ namespace OHOS .height = LABEL_H, .fontSize = LABEL_FONTSIZE, .lineHeigh = TITLE_LABEL_LINEHEIGHT, - .text = ConfigModel::GetInstance()->Getimei(), + .text = cat1_api_runtime_get_cat1_imei(), .lineBreakMode = UILabel::LINE_BREAK_WRAP, }; IMEL = InitLabel(Config);