| commit | dbcf2d7482562eff45ac727cea799b37a260e399 | [log] [tgz] |
|---|---|---|
| author | Nick Kralevich <nnk@google.com> | Thu Apr 18 14:41:40 2013 -0700 |
| committer | Nick Kralevich <nnk@google.com> | Wed May 08 13:42:10 2013 -0700 |
| tree | 6f09166b4859743a2a92dd3adeda9b4b0a3a8b9d | |
| parent | d71bfdabffe7cbfe3b29c1f62c299f11f262e516 [diff] |
PowerManagerService: Don't reboot directly. Instead of calling the reboot system call ourselves, send a message to init asking it to reboot the system. Init is in a better position to make sure the system is cleanly shutdown. Get rid of CAP_SYS_BOOT from system_server. Bug: 8646621 Change-Id: I200722412844ad8d99e35a442021c6263c3ebc05