处理应用退出问题

Signed-off-by: jiangminsen <jiangminsen@huawei.com>
This commit is contained in:
jiangminsen 2024-11-04 15:02:48 +08:00
parent 6dbca906b5
commit 06243bac03

View File

@ -4116,7 +4116,7 @@ ErrCode BundleMgrHostImpl::SwitchUninstallState(const std::string &bundleName, c
int32_t currentActiveUserId = AccountHelper::GetCurrentActiveUserId();
innerBundleInfo.GetMainAbilityInfo(mainAbilityInfo);
NotifyBundleEvents installRes = {
.isModuleUpdate = true,
.isModuleUpdate = false,
.type = NotifyType::UPDATE,
.resultCode = ERR_OK,
.accessTokenId = innerBundleInfo.GetAccessTokenId(currentActiveUserId),