commit | 18a0bebbd6604ba98c9c1d045681b8d69cf172b2 | [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 | 085b253f1bd783f0eb376aac94fb33a72506832f | |
parent | 447fd4e76325825409ba1103e156123d67c7930d [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