From 8ac79bc8204bca74b46fe9249562c5980611cd40 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Tue, 31 Oct 2017 10:07:34 -0700 Subject: [PATCH] bootstat: Add another boot reason. Bug: None Test: None Change-Id: I865a12e9c8833c4a345284181aa1812be3eddadd --- bootstat/bootstat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index 10753ce28..8c11289a2 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp @@ -227,6 +227,7 @@ const std::map kBootReasonMap = { {"shutdown,thermal,battery", 87}, {"reboot,its_just_so_hard", 88}, // produced by boot_reason_test {"reboot,Its Just So Hard", 89}, // produced by boot_reason_test + {"usb", 90}, }; // Converts a string value representing the reason the system booted to an