From: Caisking Date: Sun, 21 Sep 2025 10:24:54 +0000 (+0800) Subject: 修复编译问题 X-Git-Tag: leiniao_debug_1.0.0_20250922_020716~4^2~3 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=2e35b91ae35117ea3c24c5da7da18ea4e1ccab3a;p=mirrors%2FFD230.git 修复编译问题 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdModel.h b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdModel.h index c710ed02c..b1cd44855 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdModel.h +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdModel.h @@ -133,7 +133,7 @@ namespace OHOS bool ValidateIMEIChecksum(const std::string& imei); // IMEI状态管理函数 - bool IsIMEIValid() const; + bool IsIMEIValid(); void CheckIMEIStatus(); void SetIMEIValid(bool valid); 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 ac414277c..24da3b683 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 @@ -1231,7 +1231,7 @@ { // 如果已经检查过,直接返回 if (m_qrcodeChecked) { - return; + return m_imeiValid; } // 检查IMEI有效性