From b9a8033037dd5c15ddcc8cd147a4375c9a881d6f Mon Sep 17 00:00:00 2001 From: Jone Chou Date: Mon, 10 Jun 2019 23:24:39 +0800 Subject: [PATCH] bootstat: add reboot,longkey sub-reason to known set regular expression: - "reboot,longkey,.*" (184) regex is dependent on: - https://android-review.googlesource.com/947976 Test: none Bug: 132955428 Bug: 133520088 Change-Id: I53d13d95ac11ac73273824156363378372a562ed --- bootstat/bootstat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index c7be00bb3..6936cc2df 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp @@ -310,6 +310,7 @@ const std::map 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