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

Commit 8ba1ba26 authored by Jone Chou's avatar Jone Chou Committed by android-build-merger
Browse files

Merge "bootstat: add reboot,longkey sub-reason to known set" am: c0349199

am: 3418abfe

Change-Id: I1bbebb85ea7da6b64930a594f41389eaf606b3df
parents 7d9841a0 3418abfe
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -310,6 +310,7 @@ const std::map<std::string, int32_t> kBootReasonMap = {
    {"shutdown,userrequested,fastboot", 181},
    {"shutdown,userrequested,recovery", 182},
    {"reboot,unknown[0-9]*", 183},
    {"reboot,longkey,.*", 184},
};

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