diff options
author | Todd Poynor <toddpoynor@google.com> | 2017-01-30 17:28:55 -0800 |
---|---|---|
committer | Keun-young Park <keunyoung@google.com> | 2017-03-17 17:26:57 -0700 |
commit | eac33da63b118c79e117b289216bcbdb5c0beed3 (patch) | |
tree | 658185fe396cf2b74a980911bc021b6815af7165 /libcutils/socket_local_server_unix.cpp | |
parent | 16663a2aa45eff3df50df562abdf757fd09bbb7a (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
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions