commit | f83ba8760596fd859d95f16ba25ef24893064227 | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Mon Jan 30 17:28:55 2017 -0800 |
committer | Keun-young Park <keunyoung@google.com> | Fri Mar 17 17:26:57 2017 -0700 |
tree | 658185fe396cf2b74a980911bc021b6815af7165 | |
parent | 21ad7cf1049e181e67b0c0da4d048722b7b5da3a [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