summaryrefslogtreecommitdiff
path: root/code_coverage/empty_policy
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-10-11 13:18:44 -0700
committerTom Cherry <tomcherry@google.com>2019-10-11 13:45:42 -0700
commit800fccebbe570ab6e38d98bdc204efb408bfec65 (patch)
tree108d52a6da321b7bec78f8c7acec47343b0c4de8 /code_coverage/empty_policy
parent545d64d8280fe24509fa20466810af1e3162e0b6 (diff)
init: trigger shutdown directly from builtins
Especially now that property_service is a thread, there may be some delay between when init sets sys.powerctl and when the main thread of init receives this and triggers shutdown. It's possible that outstanding init commands are run during this gap and that is not desirable. Instead, have builtins call TriggerShutdown() directly, so we can be sure that the next action that init runs will be to shutdown the device. Test: reboot works Test: reboot into recovery due to bad /data works Change-Id: I26fb9f4f57f46c7451b8b58187138cfedd6fd9eb
Diffstat (limited to 'code_coverage/empty_policy')
0 files changed, 0 insertions, 0 deletions