commit | e40c421b28c55bec2f0106cf6ff8ce164545727f | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Mon Jan 30 17:28:55 2017 -0800 |
committer | Todd Poynor <toddpoynor@google.com> | Thu Feb 02 04:01:05 2017 +0000 |
tree | 0b4728ac16666760b6222be5b89afdf74ddec986 | |
parent | c8183bb0711d74babaf5bc3bf77e9bd220621817 [diff] |
libcutils: android_reboot: save reboot reason in file Save a string identifying the reason for last Android reboot or power off in file /data/misc/recovery/last_reboot_reason . This file may be used for informing users of reboot or shutdown reasons at next boot, and for other diagnostic purposes. Bug: 30994946 Test: Manual: reboot, setprop sys.powerctl Change-Id: I01e44473fdd21b33e9e4dced77aba9a66b6d3755