Add Silent Mode boot controls
Add "reboot,forcedsilent" and "reboot,forcednonsilent" Bug: 134521909 Test: Manually with 'adb reboot forcedsilent' Change-Id: Ib07d2b78e6263bc25b23e9973590e399eaf4d7ca
This commit is contained in:
parent
bf95cc25e3
commit
b7386a6239
1 changed files with 2 additions and 0 deletions
|
|
@ -436,6 +436,8 @@ const std::map<std::string, int32_t> kBootReasonMap = {
|
|||
{"reboot,userspace_failed,watchdog_fork", 188},
|
||||
{"reboot,userspace_failed,*", 189},
|
||||
{"reboot,mount_userdata_failed", 190},
|
||||
{"reboot,forcedsilent", 191},
|
||||
{"reboot,forcednonsilent", 192},
|
||||
};
|
||||
|
||||
// Converts a string value representing the reason the system booted to an
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue