mirror of
https://gitee.com/openharmony/bundlemanager_bundle_framework
synced 2024-11-23 07:09:53 +00:00
更新预置表问题修复
Signed-off-by: 张欣宇 <zhangxinyu74@huawei.com> Change-Id: I52ea8b0d6bfcfb29e5566692ef77d688e29fe169
This commit is contained in:
parent
19faffd757
commit
54d6ad4b21
@ -3864,9 +3864,9 @@ void BMSEventHandler::UpdatePreinstallDBForNotUpdatedBundle(const std::string &b
|
||||
preInstallBundleInfo.SetIconId(applicationInfo.iconResource.id);
|
||||
preInstallBundleInfo.SetModuleName(applicationInfo.labelResource.moduleName);
|
||||
}
|
||||
auto bundleInfo = item.second.GetBaseBundleInfo();
|
||||
if (!bundleInfo.hapModuleInfos.empty() &&
|
||||
bundleInfo.hapModuleInfos[0].moduleType == ModuleType::ENTRY) {
|
||||
auto innerModuleInfos = item.second.GetInnerModuleInfos();
|
||||
if (!innerModuleInfos.empty() &&
|
||||
innerModuleInfos.begin()->second.distro.moduleType == Profile::MODULE_TYPE_ENTRY) {
|
||||
findEntry = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user