commit | b6d7ea15b72b7a390c494fd0c5e4b1714bd3ffbc | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Wed Nov 06 21:01:57 2019 -0800 |
committer | Tianjie Xu <xunchang@google.com> | Wed Nov 13 14:23:09 2019 -0800 |
tree | 59a72bf6dd62f753a543cf44d7b4a621efa8c312 | |
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