mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-25 12:23:20 -04:00
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user