diff options
author | Martijn Coenen <maco@google.com> | 2019-05-15 22:04:13 +0200 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2019-05-16 09:30:35 +0200 |
commit | acc45aa0a1a017d2126947f3eb03b44a81a1ed8f (patch) | |
tree | abb904e79c74b857e2b9d11f157b827b48aab975 /libnativeloader/native_loader_namespace.cpp | |
parent | 6e06bcce9cfdbc87c4853c4e78853365e7921263 (diff) |
class_start_post_data also starts disabled services.
This keyword was introduced to support restarting services on devices
using APEX and FDE. The current implementation is not a restart, but
rather a 'reset' followed by a 'start', because the real /data must be
mounted in-between those two actions. But we effectively want this to be
a restart, which means that we also want to start 'disabled' services
that were running at the time we called 'class_reset_post_data'.
To implement this, keep track of whether a service was running when its
class was reset at post-data, and start all those services.
Bug: 132592548
Test: manual testing on FDE Taimen
Change-Id: I1e81e2c8e0ab2782150073d74e50e4cd734af7b9
Merged-In: I1e81e2c8e0ab2782150073d74e50e4cd734af7b9
Diffstat (limited to 'libnativeloader/native_loader_namespace.cpp')
0 files changed, 0 insertions, 0 deletions