mirror of
https://gitee.com/openharmony/bundlemanager_bundle_framework
synced 2024-11-27 01:11:15 +00:00
commit
077317e92d
@ -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