!7394 处理应用退出问题

Merge pull request !7394 from jiangminsen/master001
This commit is contained in:
openharmony_ci 2024-11-04 12:09:18 +00:00 committed by Gitee
commit 1495c5ee2f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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),