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;
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) {