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

Commit 6c640a16 authored by James Hawkins's avatar James Hawkins Committed by android-build-merger
Browse files

Merge "bootstat: Add a few more bootreasons."

am: b6233894

Change-Id: I047d0fd7c22d3814d2d94ef267d4ad13e054541f
parents 6cf3cd22 b6233894
Loading
Loading
Loading
Loading
+7 −0
Original line number 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", 89},  // produced by boot_reason_test
    {"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