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:
Jim Kaye 2020-07-01 16:57:01 -07:00
parent bf95cc25e3
commit b7386a6239

View file

@ -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