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

Commit 5854b136 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by android-build-merger
Browse files

Merge "bootstat: Add some reserved sys.boot.reason values to enumeration" am:...

Merge "bootstat: Add some reserved sys.boot.reason values to enumeration" am: 444e3a9f am: bd7bbf85 am: 16a15f56
am: ed771122

Change-Id: I5e9752f0ac65677a9117950c2e23575be8ded357
parents 31da4365 ed771122
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -207,6 +207,11 @@ const std::map<std::string, int32_t> kBootReasonMap = {
    {"reboot,adb", 67},
    {"reboot,userrequested", 68},
    {"shutdown,container", 69},  // Host OS asking Android Container to shutdown
    {"cold,powerkey", 70},
    {"warm,s3_wakeup", 71},
    {"hard,hw_reset", 72},
    {"shutdown,suspend", 73},    // Suspend to RAM
    {"shutdown,hibernate", 74},  // Suspend to DISK
};

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