根据电子流更新名称

Signed-off-by: 朱菲墨 <zhufeimo1@huawei.com>
This commit is contained in:
朱菲墨
2025-04-03 11:10:40 +08:00
parent ba46a0a3fa
commit db86ab2fb4
3 changed files with 3 additions and 3 deletions
@@ -124,7 +124,7 @@ napi_value WantConstantInit(napi_env env, napi_value exports)
SetNamedProperty(env, params, "ohos.param.atomicservice.subpackageName", "SUB_PACKAGE_NAME");
SetNamedProperty(env, params, "ohos.extra.param.key.callerRequestCode", "CALLER_REQUEST_CODE");
SetNamedProperty(env, params, "ability.params.stream", "PARAMS_STREAM");
SetNamedProperty(env, params, "ohos.params.appLaunchTrustlist", "APP_LAUNCH_TRUSTLIST");
SetNamedProperty(env, params, "ohos.params.appLaunchTrustList", "APP_LAUNCH_TRUSTLIST");
SetNamedProperty(env, params, "ohos.extra.param.key.appInstance", "APP_INSTANCE_KEY");
SetNamedProperty(env, params, "ohos.extra.param.key.createAppInstance", "CREATE_APP_INSTANCE_KEY");
SetNamedProperty(env, params, "ohos.param.callerAppCloneIndex", "CALLER_APP_CLONE_INDEX");
@@ -26,7 +26,7 @@
#include "string_wrapper.h"
#include "want.h"
const std::string APP_LAUNCH_TRUSTLIST = "ohos.params.appLaunchTrustlist";
const std::string APP_LAUNCH_TRUSTLIST = "ohos.params.appLaunchTrustList";
namespace OHOS {
namespace AAFwk {
using OHOS::AppExecFwk::BundleInfo;
@@ -53,7 +53,7 @@ const std::string HTTP_SCHEME_NAME = "http";
const std::string HTTPS_SCHEME_NAME = "https";
const std::string FILE_SCHEME_NAME = "file";
const std::string APP_CLONE_INDEX = "ohos.extra.param.key.appCloneIndex";
const std::string APP_LAUNCH_TRUSTLIST = "ohos.params.appLaunchTrustlist";
const std::string APP_LAUNCH_TRUSTLIST = "ohos.params.appLaunchTrustList";
constexpr const char* SUPPORT_ACTION_START_SELECTOR = "persist.sys.ability.support.action_start_selector";
void SendAbilityEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo)