mirror of
https://gitee.com/openharmony/bundlemanager_bundle_framework
synced 2024-11-23 07:09:53 +00:00
修复fuzzer用例
Signed-off-by: ImCaO <zhoushihui4@huawei.com>
This commit is contained in:
parent
e973b768d5
commit
4995edfe48
@ -36,6 +36,7 @@ namespace OHOS {
|
||||
{
|
||||
AppServiceFwkInstaller appServiceFwk;
|
||||
InstallParam installParam;
|
||||
installParam.copyHapToInstallPath = false;
|
||||
std::unordered_map<std::string, InnerBundleInfo> infos;
|
||||
InnerBundleInfo innerBundleInfo;
|
||||
innerBundleInfo.currentPackage_ = MODULE_NAME_TEST;
|
||||
@ -45,8 +46,6 @@ namespace OHOS {
|
||||
InnerBundleInfo newInfo;
|
||||
appServiceFwk.CheckNeedUpdate(newInfo, oldInfo);
|
||||
std::string hspPath = ", path: ";
|
||||
InstallParam installParam;
|
||||
installParam.copyHapToInstallPath = false;
|
||||
appServiceFwk.ProcessBundleUpdateStatus(oldInfo, newInfo, VERSION_ONE_LIBRARY_ONE_PATH, installParam);
|
||||
bool isReplace = true;
|
||||
appServiceFwk.ProcessModuleUpdate(innerBundleInfo, oldInfo, hspPath, installParam);
|
||||
|
Loading…
Reference in New Issue
Block a user