Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7386a62 authored by Jim Kaye's avatar Jim Kaye
Browse files

Add Silent Mode boot controls

Add "reboot,forcedsilent" and "reboot,forcednonsilent"

Bug: 134521909
Test: Manually with 'adb reboot forcedsilent'
Change-Id: Ib07d2b78e6263bc25b23e9973590e399eaf4d7ca
parent bf95cc25
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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