Merge "recovery: report compliant reboot reason (Part Deux)"

This commit is contained in:
Treehugger Robot 2019-05-28 15:57:24 +00:00 committed by Gerrit Code Review
commit 5f7314b7e1
1 changed files with 5 additions and 5 deletions

View File

@ -304,11 +304,11 @@ const std::map<std::string, int32_t> kBootReasonMap = {
{"reboot,pmic_off_fault,.*", 175},
{"reboot,pmic_off_s3rst,.*", 176},
{"reboot,pmic_off_other,.*", 177},
{"reboot,fastboot_menu", 178},
{"reboot,recovery_menu", 179},
{"reboot,recovery_ui", 180},
{"shutdown,fastboot", 181},
{"shutdown,recovery", 182},
{"reboot,userrequested,fastboot", 178},
{"reboot,userrequested,recovery", 179},
{"reboot,userrequested,recovery,ui", 180},
{"shutdown,userrequested,fastboot", 181},
{"shutdown,userrequested,recovery", 182},
{"reboot,unknown[0-9]*", 183},
};