commit | bd314a461bd071eb75fd9fac742066f2a9cd5077 | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Thu Nov 07 15:37:38 2019 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Thu Nov 14 23:10:54 2019 +0000 |
tree | 2a2a5b3d2c8d1d5af4972972972f4f6cfcd9ea9e | |
parent | 4ede55f01e4237a3c24bfeb3ca8a248a6362c81f [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