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

Commit 508e615b authored by Jone Chou's avatar Jone Chou
Browse files

bootstat: add 4 reboot reasons to known set



- reboot,rtc
- reboot,dm-verity_device_corrupted
- reboot,dm-verity_enforcing
- reboot,keys_clear

Test: none
Bug: 128929506
Bug: 128929604
Change-Id: I5438c236abb67b74c7b9d717930c0ea69f70540d
Signed-off-by: default avatarJone Chou <jonechou@google.com>
parent 471ff5dd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -295,6 +295,10 @@ const std::map<std::string, int32_t> kBootReasonMap = {
    {"kernel_panic,_sde_encoder_phys_cmd_handle_ppdone_timeout", 168},
    {"recovery,quiescent", 169},
    {"reboot,quiescent", 170},
    {"reboot,rtc", 171},
    {"reboot,dm-verity_device_corrupted", 172},
    {"reboot,dm-verity_enforcing", 173},
    {"reboot,keys_clear", 174},
};

// Converts a string value representing the reason the system booted to an