From: xue <2144439972@qq.com> Date: Thu, 20 Nov 2025 02:05:40 +0000 (+0800) Subject: 修复ppp编译Bug X-Git-Tag: V1.0.9_20251128_194606_LN~40 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=f345a3de5ae8dd4320bda19dbefcfdaef6b654b9;p=mirrors%2FFD230.git 修复ppp编译Bug --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp index 943f57645..2eecea8dc 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp @@ -252,7 +252,9 @@ namespace OHOS if (screenState == 1) { // 息屏状态下按下:亮屏(由系统自动处理) // 亮屏时触发时间同步 + #ifdef SUPPORT_CAT1_SERVICE restart_time_sync(); + #endif screenOnFromOff = true; // 标记是从息屏状态亮屏的 WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "HandlePowerKey: Screen on from off, trigger time sync"); return true;