Signed-off-by: shilei <shilei91@huawei.com>
Change-Id: I21a042630a5a24b89f8350203b38510f859c92f9
This commit is contained in:
shilei
2022-12-08 21:36:48 +08:00
parent fa4735252e
commit 36f33a4f65
2 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -42,7 +42,10 @@ if (ohos_kernel_type == "liteos_m") {
}
if (enable_ohos_bundle_manager_service_permission == true) {
defines += [ "_MINI_BMS_PERMISSION_" ]
defines += [
"_MINI_BMS_PERMISSION_",
"BC_TRANS_ENABLE",
]
}
deps = [
@@ -290,6 +290,9 @@ bool GtManagerService::RegisterInstallerCallback(InstallerCallback installerCall
if (installerCallback == nullptr) {
return false;
}
#ifdef BC_TRANS_ENABLE
ScanPackages();
#endif
InstallPreBundle(systemPathList_, installerCallback);
return true;
}