commit | b9e8c9c6b0e15d9fa0b98ef182b685e102229627 | [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 | e7c7e6afa52f8da25bf1020700d31493e4849b0c [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