diff options
author | Nikita Ioffe <ioffe@google.com> | 2019-11-07 15:37:38 +0000 |
---|---|---|
committer | Nikita Ioffe <ioffe@google.com> | 2019-11-14 23:10:54 +0000 |
commit | 82a431eb2fadf7a99b1649e028aba8a5d85931db (patch) | |
tree | 2a2a5b3d2c8d1d5af4972972972f4f6cfcd9ea9e /fastboot/device/variables.cpp | |
parent | 2ebe95ff2a69cb57ddd1be7da0de8a96835a9d0d (diff) |
Add a very basic userspace reboot watchdog
Watchdog is just a forked process that is going to fall back to the
full reboot in case device wasn't able to boot in given amount of time.
Currently this amount is hard-coded to 1 minute, but in the future it
will be controlled by a read-only property.
Also added sync calls before and after tearing down services.
Test: adb reboot userspace
Bug: 135984674
Change-Id: Ie6053c9446a6761deae6dc104036bb35b09ef0e2
Diffstat (limited to 'fastboot/device/variables.cpp')
0 files changed, 0 insertions, 0 deletions