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

Commit 0ea0130d authored by James Hawkins's avatar James Hawkins Committed by android-build-merger
Browse files

Merge "bootstat: Add a few more bootreasons." am: b6233894

am: 6c640a16

Change-Id: Ib8d59c37b86a6cc579c25080cd62b748c25aead9
parents be997bf2 6c640a16
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -228,6 +228,13 @@ const std::map<std::string, int32_t> kBootReasonMap = {
    {"reboot,its_just_so_hard", 88},  // produced by boot_reason_test
    {"reboot,its_just_so_hard", 88},  // produced by boot_reason_test
    {"reboot,Its Just So Hard", 89},  // produced by boot_reason_test
    {"reboot,Its Just So Hard", 89},  // produced by boot_reason_test
    {"usb", 90},
    {"usb", 90},
    {"charge", 91},
    {"oem_tz_crash", 92},
    {"uvlo", 93},
    {"oem_ps_hold", 94},
    {"abnormal_reset", 95},
    {"oemerr_unknown", 96},
    {"reboot_fastboot_mode", 97},
};
};


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