From ca4f161fa45e465f2fb1455726ff03428fff9ed4 Mon Sep 17 00:00:00 2001 From: joe49 Date: Wed, 10 Aug 2022 14:54:07 +0800 Subject: [PATCH] fix COMPONENTSLOAD_PROFILE_PATH Signed-off-by: joe49 --- common/utils/include/constants.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/utils/include/constants.h b/common/utils/include/constants.h index 18fda5b9..0612aa86 100644 --- a/common/utils/include/constants.h +++ b/common/utils/include/constants.h @@ -25,7 +25,8 @@ namespace DistributedHardware { constexpr int32_t ENABLE_TIMEOUT_MS = 1000; constexpr int32_t DISABLE_TIMEOUT_MS = 500; const std::u16string DHMS_STUB_INTERFACE_TOKEN = u"ohos.distributedhardware.accessToken"; - const std::string COMPONENTSLOAD_PROFILE_PATH = R"(/etc/distributed_hardware_components_cfg.json)"; + const std::string COMPONENTSLOAD_PROFILE_PATH = + R"(/vendor/etc/distributedhardware/distributed_hardware_components_cfg.json)"; const std::string APP_ID = "dtbhardware_manager_service"; const std::string GLOBAL_CAPABILITY_ID = "global_capability_info"; const std::string GLOBAL_VERSION_ID = "global_version_info"; -- Gitee