From b65d99593f504603321d4b441ea069939ead56d3 Mon Sep 17 00:00:00 2001 From: y30033032 Date: Thu, 31 Jul 2025 20:43:08 +0800 Subject: [PATCH] bug fix: Ipc module dependency rectification Signed-off-by: y30033032 --- .../lnn/lane_hub/heartbeat/src/lnn_heartbeat_medium_mgr.c | 2 +- tests/core/adapter/BUILD.gn | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/bus_center/lnn/lane_hub/heartbeat/src/lnn_heartbeat_medium_mgr.c b/core/bus_center/lnn/lane_hub/heartbeat/src/lnn_heartbeat_medium_mgr.c index 29b04473e0..c959045b9c 100644 --- a/core/bus_center/lnn/lane_hub/heartbeat/src/lnn_heartbeat_medium_mgr.c +++ b/core/bus_center/lnn/lane_hub/heartbeat/src/lnn_heartbeat_medium_mgr.c @@ -583,7 +583,7 @@ static bool IsAccountChange(DeviceInfo *device, NodeInfo *cacheDeviceInfo) static bool IsNeedConnectOnLine(DeviceInfo *device, HbRespData *hbResp, ConnectOnlineReason *connectReason) { - LNN_CHECK_AND_RETURN_RET_LOGE((hbResp != NULL) && (hbResp->stateVersion != STATE_VERSION_INVALID), + LNN_CHECK_AND_RETURN_RET_LOGW((hbResp != NULL) && (hbResp->stateVersion != STATE_VERSION_INVALID), true, LNN_HEART_BEAT, "ble don't support ble direct online"); int32_t ret, stateVersion; NodeInfo deviceInfo; diff --git a/tests/core/adapter/BUILD.gn b/tests/core/adapter/BUILD.gn index a100c25415..7b5cf0dd9b 100644 --- a/tests/core/adapter/BUILD.gn +++ b/tests/core/adapter/BUILD.gn @@ -96,6 +96,7 @@ ohos_unittest("LnnSettingDataEventMonitorTest") { "googletest:gtest_main", "hilog:libhilog", "init:libbegetutil", + "ipc:ipc_single", "kv_store:distributeddata_inner", "samgr:samgr_proxy", ] -- Gitee