diff options
author | Nikita Ioffe <ioffe@google.com> | 2020-02-01 00:08:14 +0000 |
---|---|---|
committer | Nikita Ioffe <ioffe@google.com> | 2020-02-03 10:56:31 +0000 |
commit | 1ef721380ab9964721c23267c37de3328804cb06 (patch) | |
tree | 713c124179acaa20b8904becbc620a4b1bae90ae /startop/scripts/lib/cmd_utils.py | |
parent | e3ada502d1fc6421af519e7ee7ebe9c309faf66f (diff) |
Grant shell REBOOT permission
Shell already can reboot a device (via `adb reboot` command). This
change allows shell to also trigger a reboot logic inside the
system_server.
Additionally, it allows to CTS test PowerManager.reboot API.
Test: adb shell svc reboot
Change-Id: I4545c4f3587fee2840a00648c569f75bb57501fc
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions