diff --git a/cmds/installd/otapreopt_chroot.cpp b/cmds/installd/otapreopt_chroot.cpp index 6459805ba3..72c03bf14b 100644 --- a/cmds/installd/otapreopt_chroot.cpp +++ b/cmds/installd/otapreopt_chroot.cpp @@ -68,15 +68,15 @@ static std::vector ActivateApexPackages() { apex::kApexPackageVendorDir}; for (const auto& dir : apex_dirs) { // Cast call to void to suppress warn_unused_result. - static_cast(apex::scanPackagesDirAndActivate(dir)); + static_cast(apex::ScanPackagesDirAndActivate(dir)); } - return apex::getActivePackages(); + return apex::GetActivePackages(); } static void DeactivateApexPackages(const std::vector& active_packages) { for (const apex::ApexFile& apex_file : active_packages) { const std::string& package_path = apex_file.GetPath(); - base::Result status = apex::deactivatePackage(package_path); + base::Result status = apex::DeactivatePackage(package_path); if (!status.ok()) { LOG(ERROR) << "Failed to deactivate " << package_path << ": " << status.error();