mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
startAbility新增绑定托盘但是不创建新进程的模式
Signed-off-by: jsjzju <jinsenjun@huawei.com> Change-Id: I4a7f639e733ff692c92e8206115cdb57341a6101
This commit is contained in:
parent
3ffbd6b172
commit
70760c19b7
13
api/@ohos.app.ability.contextConstant.d.ts
vendored
13
api/@ohos.app.ability.contextConstant.d.ts
vendored
@ -152,7 +152,18 @@ declare namespace contextConstant {
|
||||
* @stagemodelonly
|
||||
* @since 12
|
||||
*/
|
||||
NEW_PROCESS_ATTACH_TO_STATUS_BAR_ITEM = 2
|
||||
NEW_PROCESS_ATTACH_TO_STATUS_BAR_ITEM = 2,
|
||||
|
||||
/**
|
||||
* Indicates the ability started without forcing the creation of a new process.
|
||||
* When using this mode, the caller needs to add item to status bar first,
|
||||
* and the target ability needs to have the same bundle name as the caller.
|
||||
*
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @stagemodelonly
|
||||
* @since 12
|
||||
*/
|
||||
ATTACH_TO_STATUS_BAR_ITEM = 3
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user