commit | 7f4da698f805eebcfc37a83274b240b26cb76a0f | [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 | d4e809eb70e81db86977ae969eca6a65ff343a6c [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