Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ed6978b authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "bootstat: Add more thermal related reasons." into main

parents 166b3e46 88b81e26
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -424,7 +424,7 @@ const std::map<std::string, int32_t> kBootReasonMap = {
    {"reboot,mount_userdata_failed", 190},
    {"reboot,forcedsilent", 191},
    {"reboot,forcednonsilent", 192},
    {"reboot,thermal,tj", 193},
    {"reboot,thermal,tj.*", 193},
    {"reboot,emergency", 194},
    {"reboot,factory", 195},
    {"reboot,fastboot", 196},
@@ -472,6 +472,7 @@ const std::map<std::string, int32_t> kBootReasonMap = {
    {"reboot,fship.*", 238},
    {"reboot,ocp,.*", 239},
    {"reboot,ntc,pmic,sub", 240},
    {"reboot,telemtemp,pmic,main", 241},
};

// Converts a string value representing the reason the system booted to an