commit | c8183bb0711d74babaf5bc3bf77e9bd220621817 | [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 | 92c343fc4018ef94050ce7093a9e14efea97a3dc [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