summaryrefslogtreecommitdiff
path: root/init/service_parser.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/service_parser.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/service_parser.cpp')
-rw-r--r--init/service_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/service_parser.cpp b/init/service_parser.cpp
index 154d1dd41..1d431e3a6 100644
--- a/init/service_parser.cpp
+++ b/init/service_parser.cpp
@@ -569,7 +569,7 @@ Result<void> ServiceParser::ParseSection(std::vector<std::string>&& args,
}
}
- service_ = std::make_unique<Service>(name, restart_action_subcontext, str_args);
+ service_ = std::make_unique<Service>(name, restart_action_subcontext, str_args, from_apex_);
return {};
}