diff options
author | Nikita Ioffe <ioffe@google.com> | 2020-04-11 01:55:24 +0100 |
---|---|---|
committer | Nikita Ioffe <ioffe@google.com> | 2020-04-14 00:21:41 +0100 |
commit | 6236af3d0c6422bbc88aa883ebdb717352d69ad4 (patch) | |
tree | e72ba38106216ea7e6c9384439068e0beb095ce5 /libutils/FileMap_test.cpp | |
parent | d4cc15499b6fbc42ab8f70991480f6a16182b890 (diff) |
Fallback to hard reboot if userspace reboot hasn't started in time
Similarly to other recovery mechanisms, timeout is controlled by a
read-only property that can be configured per-device.
Test: adb root
Test: adb shell setprop init.userspace_reboot.started.timeoutmillis 2
Test: adb reboot userspace
Bug: 152803929
Change-Id: Id70710b46da798945ac5422ef7d69265911ea5ef
Merged-In: Id70710b46da798945ac5422ef7d69265911ea5ef
(cherry picked from commit d05535485f7a818cda3bfa4b61bfd071be56b36f)
Diffstat (limited to 'libutils/FileMap_test.cpp')
0 files changed, 0 insertions, 0 deletions