From b7386a6239374522810f80d0df957c8d30a70c09 Mon Sep 17 00:00:00 2001 From: Jim Kaye Date: Wed, 1 Jul 2020 16:57:01 -0700 Subject: [PATCH] Add Silent Mode boot controls Add "reboot,forcedsilent" and "reboot,forcednonsilent" Bug: 134521909 Test: Manually with 'adb reboot forcedsilent' Change-Id: Ib07d2b78e6263bc25b23e9973590e399eaf4d7ca --- bootstat/bootstat.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index 5d6cee43c..8979e9a9d 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp @@ -436,6 +436,8 @@ const std::map 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