From 9b76bc8563edecd3c58b996450e2539430def6cc Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Fri, 8 Feb 2019 19:09:07 +0000 Subject: [PATCH] Remove obsolete comment from cmds/installd/otapreopt_chroot.cpp. APEX packages are deactivated at the end of `otapreopt_chroot`, so loop devices used to mount them are returned to the system. Test: m otapreopt_chroot Bug: 113373927 Change-Id: I8b55787ffa7abdfe63f9778623f5e2317b8a4525 --- cmds/installd/otapreopt_chroot.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmds/installd/otapreopt_chroot.cpp b/cmds/installd/otapreopt_chroot.cpp index 609ddaf9d7..670abea616 100644 --- a/cmds/installd/otapreopt_chroot.cpp +++ b/cmds/installd/otapreopt_chroot.cpp @@ -80,8 +80,6 @@ static std::vector ActivateApexPackages() { // system/apex/apexd/apexd_main.cpp. // // Only scan the APEX directory under /system (within the chroot dir). - // Note that this leaves around the loop devices created and used by - // libapexd's code, but this is fine, as we expect to reboot soon after. apex::scanPackagesDirAndActivate(apex::kApexPackageSystemDir); return apex::getActivePackages(); } -- 2.11.0