mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-12-04 05:22:25 +00:00
Adapt the parameter prohibitdRemoveByRouter to uiContent
Signed-off-by: liweifeng <liweifeng2@huawei.com> Change-Id: Ia9b649d7f5dbb9698f54d0bc5cfe5d603c40d64d
This commit is contained in:
parent
dfa6b9cd3e
commit
faf2607815
@ -979,6 +979,7 @@ ErrCode AbilityContextImpl::CreateModalUIExtensionWithApp(const AAFwk::Want &wan
|
||||
disposedCallback->OnDestroy();
|
||||
};
|
||||
Ace::ModalUIExtensionConfig config;
|
||||
config.prohibitedRemoveByRouter = true;
|
||||
int32_t sessionId = uiContent->CreateModalUIExtension(want, callback, config);
|
||||
if (sessionId == 0) {
|
||||
TAG_LOGE(AAFwkTag::CONTEXT, "CreateModalUIExtension is failed");
|
||||
|
Loading…
Reference in New Issue
Block a user