commit | 1ef721380ab9964721c23267c37de3328804cb06 | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Sat Feb 01 00:08:14 2020 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Mon Feb 03 10:56:31 2020 +0000 |
tree | 713c124179acaa20b8904becbc620a4b1bae90ae | |
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