From 12fbd21040503f2b4d00f69be34225655addbf12 Mon Sep 17 00:00:00 2001 From: lanhaoyu Date: Fri, 18 Jul 2025 17:42:39 +0800 Subject: [PATCH] fix ani bms Signed-off-by: lanhaoyu --- interfaces/kits/js/distributedBundle/distributed_helper.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/interfaces/kits/js/distributedBundle/distributed_helper.h b/interfaces/kits/js/distributedBundle/distributed_helper.h index 819b2f7..3362c4d 100644 --- a/interfaces/kits/js/distributedBundle/distributed_helper.h +++ b/interfaces/kits/js/distributedBundle/distributed_helper.h @@ -21,6 +21,12 @@ namespace OHOS { namespace AppExecFwk { +namespace { +constexpr int32_t GET_REMOTE_ABILITY_INFO_MAX_SIZE = 10; +constexpr const char* RESOURCE_NAME_GET_REMOTE_ABILITY_INFO = "GetRemoteAbilityInfo"; +constexpr const char* PARAMETER_ELEMENT_NAME = "elementName"; +constexpr const char* PARAMETER_LOCALE = "locale"; +} class DistributedHelper { public: static int32_t InnerGetRemoteAbilityInfo(const std::vector &elementNames, const std::string &locale, -- Gitee