Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b76bc85 authored by Roland Levillain's avatar Roland Levillain
Browse files

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
parent e55a64f1
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -80,8 +80,6 @@ static std::vector<apex::ApexFile> ActivateApexPackages() {
    // system/apex/apexd/apexd_main.cpp.
    // system/apex/apexd/apexd_main.cpp.
    //
    //
    // Only scan the APEX directory under /system (within the chroot dir).
    // 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);
    apex::scanPackagesDirAndActivate(apex::kApexPackageSystemDir);
    return apex::getActivePackages();
    return apex::getActivePackages();
}
}