From 9033bf5a2e73ec96d086849806a8a95dce84f05c Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Thu, 21 Sep 2017 11:30:29 -0700 Subject: [PATCH] bootstat: Add reboot,userrequested Result of holding power button down and hitting restart. Test: compile Bug: 63736262 Change-Id: I271bdf135cece5fd9dc9e60ddf8add595ed3da4c --- bootstat/bootstat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index e2202fdef..7c0b15ead 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp @@ -203,6 +203,7 @@ const std::map kBootReasonMap = { {"reboot,", 65}, {"reboot,shell", 66}, {"reboot,adb", 67}, + {"reboot,userrequested", 68}, }; // Converts a string value representing the reason the system booted to an