summaryrefslogtreecommitdiff
path: root/init/builtins.cpp
diff options
context:
space:
mode:
authorNikita Ioffe <ioffe@google.com>2019-12-05 12:35:19 +0000
committerNikita Ioffe <ioffe@google.com>2019-12-05 17:51:43 +0000
commit091c4d143975f9e268e5b3aac1923cc68e7781d2 (patch)
tree4097d6e4dc3a312d9aa34b2ab69935f253a328b0 /init/builtins.cpp
parent028e1d4434dd8c3d4f429a402dcdf66a6c552eb0 (diff)
Remove service defined in an APEX during userspace reboot
Such services will be re-parsed and added back to the service list during post-fs-data stage. Test: adb reboot userspace Test: atest CtsInitTestCases Bug: 145669993 Bug: 135984674 Change-Id: Ibb393dfe0f101c4ebe37bc763733fd5d981d3691
Diffstat (limited to 'init/builtins.cpp')
-rw-r--r--init/builtins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/builtins.cpp b/init/builtins.cpp
index 98a980571..1a98f4ea9 100644
--- a/init/builtins.cpp
+++ b/init/builtins.cpp
@@ -1180,7 +1180,7 @@ static Result<void> do_parse_apex_configs(const BuiltinArguments& args) {
return Error() << "glob pattern '" << glob_pattern << "' failed";
}
std::vector<std::string> configs;
- Parser parser = CreateServiceOnlyParser(ServiceList::GetInstance());
+ Parser parser = CreateServiceOnlyParser(ServiceList::GetInstance(), true);
for (size_t i = 0; i < glob_result.gl_pathc; i++) {
std::string path = glob_result.gl_pathv[i];
// Filter-out /apex/<name>@<ver> paths. The paths are bind-mounted to