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

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

Merge "bootstat: Log even more boot reasons." am: 29b94116 am: b4c27af1

am: dedcd34c

Change-Id: I8ff11a6a8531fcf44f3f015465164e95f509675a
parents 51ea1650 dedcd34c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -169,6 +169,13 @@ const std::map<std::string, int32_t> kBootReasonMap = {
  {"wdog_bark", 42},
  {"wdog_bite", 43},
  {"wdog_reset", 44},
  {"shutdown,", 45},  // Trailing comma is intentional.
  {"shutdown,userrequested", 46},
  {"reboot,bootloader", 47},
  {"reboot,cold", 48},
  {"reboot,recovery", 49},
  {"thermal_shutdown", 50},
  {"s3_wakeup", 51}
};

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