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
diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp
index ee1ae31..d6ebb0d 100644
--- a/bootstat/bootstat.cpp
+++ b/bootstat/bootstat.cpp
@@ -438,6 +438,7 @@
{"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