diff options
author | Tianjie Xu <xunchang@google.com> | 2019-11-06 21:01:57 -0800 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2019-11-13 14:23:09 -0800 |
commit | b6d7ea15b72b7a390c494fd0c5e4b1714bd3ffbc (patch) | |
tree | 59a72bf6dd62f753a543cf44d7b4a621efa8c312 /debuggerd/libdebuggerd/utility.cpp | |
parent | a8f30816635bf38ccb3e7ae98ee5224a82d99f38 (diff) |
Handle the reboot in the recovery user mode
We have switched to "/system/bin/reboot" to perform the reboot. But
accessing the shell for user build under recovery is not allowed by
sepolicy. So adding a special routine to handle this reboot case.
Bug: 141247819
Test: run `adb reboot` in user mode recovery
Change-Id: Ia37438e52c67fd2bd54e923a0fea5817a1455a08
Diffstat (limited to 'debuggerd/libdebuggerd/utility.cpp')
0 files changed, 0 insertions, 0 deletions