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 f8e39770cd
commit 96b7e9b979
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) { if (enable_ohos_bundle_manager_service_permission == true) {
defines += [ "_MINI_BMS_PERMISSION_" ] defines += [
"_MINI_BMS_PERMISSION_",
"BC_TRANS_ENABLE",
]
} }
deps = [ deps = [
@@ -290,6 +290,9 @@ bool GtManagerService::RegisterInstallerCallback(InstallerCallback installerCall
if (installerCallback == nullptr) { if (installerCallback == nullptr) {
return false; return false;
} }
#ifdef BC_TRANS_ENABLE
ScanPackages();
#endif
InstallPreBundle(systemPathList_, installerCallback); InstallPreBundle(systemPathList_, installerCallback);
return true; return true;
} }