From 796e972592cf2af10131a3cf2050e3941ae3dd41 Mon Sep 17 00:00:00 2001 From: Caisking Date: Mon, 2 Mar 2026 20:24:34 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96=E8=BF=90=E5=8A=A8=E8=BF=87?= =?utf8?q?=E7=A8=8B=E4=B8=AD=E5=8F=AF=E4=BB=A5=E5=BC=B9=E5=87=BA=E6=AF=8F?= =?utf8?q?=E6=97=A5=E7=9B=AE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd272/service/msg_center/src/msg_center_customer.cpp | 8 ++++---- code/sdk/zhihui/utilscpp/custom_utilscpp.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp b/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp index cd5c49a70..30793ca4c 100644 --- a/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp +++ b/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp @@ -1065,10 +1065,10 @@ void MsgCenterNotifyLowPowerAlarmProc(const Topic topic, Request* req) std::bind(&OHOS::GoalotherView::GoalViewrefresh, OHOS::GoalotherView::GetInstance() )); } - /* 运动过程中不弹目标达成,避免打扰用户;使用 runtime 训练状态(0 未训练/结束,1 训练中) */ - if (uapi_dev_runtime_get_train_status() != 0) { - return; - } + // /* 运动过程中不弹目标达成,避免打扰用户;使用 runtime 训练状态(0 未训练/结束,1 训练中) */ + // if (uapi_dev_runtime_get_train_status() != 0) { + // return; + // } /* 同时只弹一个:本轮只发布第一个达成的目标,顺序:步数 -> 距离 -> 燃脂 -> 站立 -> 卡路里 */ bool published = false; diff --git a/code/sdk/zhihui/utilscpp/custom_utilscpp.cpp b/code/sdk/zhihui/utilscpp/custom_utilscpp.cpp index 04f69122b..b58317f47 100644 --- a/code/sdk/zhihui/utilscpp/custom_utilscpp.cpp +++ b/code/sdk/zhihui/utilscpp/custom_utilscpp.cpp @@ -529,7 +529,7 @@ void CustomEventPublish(uint16_t topic, uint8_t *data, uint32_t size) { BroadcastApi *broadcastApi = nullptr; IUnknown *api = nullptr; - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "CustomEventPublish topic=%u!!", topic); + WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "CustomEventPublish topic=%u!!", topic); void *publishData = nullptr; if (size > 0) { -- 2.17.1