startAbility新增绑定托盘但是不创建新进程的模式

Signed-off-by: jsjzju <jinsenjun@huawei.com>
Change-Id: I4a7f639e733ff692c92e8206115cdb57341a6101
This commit is contained in:
jsjzju 2024-06-07 11:20:58 +08:00
parent 3ffbd6b172
commit 70760c19b7

View File

@ -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
}
/**