commit | d4e809eb70e81db86977ae969eca6a65ff343a6c | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Tue Jan 31 15:51:50 2017 -0800 |
committer | Todd Poynor <toddpoynor@google.com> | Thu Feb 02 04:00:54 2017 +0000 |
tree | c47d68b69a6d5e540b3590cca8f3216d44b66f66 | |
parent | 1049dbd3d9212ae097ab63c9432973d0d589695f [diff] |
healthd: charger mode use reboot(), not android_reboot() Preserve last Android reboot reason as recorded by android_reboot() prior to entering charger mode. For example, a thermal shutdown that reboots to charger mode leaves that reason in place, for user notification purposes at next Android startup. Bug: 30994946 Test: manual Change-Id: I003f57bfff29a471bb647d2cf6b0986ff428985a