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

Commit 3077334e authored by James Hawkins's avatar James Hawkins Committed by android-build-merger
Browse files

Merge "bootstat: Add more boot reasons found by logging in the wild." am: a03c935e am: be1f7b3a

am: b2b66c83

Change-Id: I303f66220822f95d136fc7ea7808c3e1be12f14f
parents 4eae65d9 b2b66c83
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -212,6 +212,17 @@ const std::map<std::string, int32_t> kBootReasonMap = {
    {"hard,hw_reset", 72},
    {"shutdown,suspend", 73},    // Suspend to RAM
    {"shutdown,hibernate", 74},  // Suspend to DISK
    {"power_on_key", 75},
    {"reboot_by_key", 76},
    {"wdt_by_pass_pwk", 77},
    {"reboot_longkey", 78},
    {"powerkey", 79},
    {"usb", 80},
    {"wdt", 81},
    {"tool_by_pass_pwk", 82},
    {"2sec_reboot", 83},
    {"reboot,by_key", 84},
    {"reboot,longkey", 85},
};

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