recovery: report compliant reboot reason (Part Deux)
shutdown and reboot should have a corresponding sub-reason.
Updating:
"reboot,userrequested,fastboot"
"reboot,userrequested,recovery"
"reboot,userrequested,recovery,ui"
"shutdown,userrequested,fastboot"
"shutdown,userrequested,recovery"
"reboot,unknown#" (Can't happen, debug)
Test: none
Bug: 133326470
Change-Id: Icf1ab0d462ec2de2272914a36994a095998d6186
This commit is contained in:
parent
691e0e154a
commit
65d8b9be99
1 changed files with 5 additions and 5 deletions
|
|
@ -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},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue