bootstat: Add Tj thermal shutdown

Add "reboot,thermal,tj" to kBootReasonMap

Bug: 174705050
Test: adb shell echo 110000 > /dev/thermal/tz-by-name/BIG/emul_temp
adb shell bootstat -p

Change-Id: Iea7da4024a57eff7a758e0e9a2321eb220fc5c28
This commit is contained in:
Lisa Liu 2021-03-16 17:43:32 +08:00 committed by Lisa (LeeWei) Liu
parent 102f7e4d7e
commit 82674dedcd
1 changed files with 1 additions and 0 deletions

View File

@ -438,6 +438,7 @@ const std::map<std::string, int32_t> kBootReasonMap = {
{"reboot,mount_userdata_failed", 190},
{"reboot,forcedsilent", 191},
{"reboot,forcednonsilent", 192},
{"reboot,thermal,tj", 193},
};
// Converts a string value representing the reason the system booted to an