Merge "Scan for quiescent in sub reason and details" into main am: fe7e089a7c
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2994919 Change-Id: I85f5d288bf5a5dfb2cfcdf50056631ed540ec0d4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
bbe79fedf6
1 changed files with 2 additions and 1 deletions
|
@ -1083,7 +1083,8 @@ void HandlePowerctlMessage(const std::string& command) {
|
|||
return;
|
||||
}
|
||||
}
|
||||
} else if (reboot_target == "quiescent") {
|
||||
} else if (std::find(cmd_params.begin(), cmd_params.end(), "quiescent")
|
||||
!= cmd_params.end()) { // Quiescent can be either subreason or details.
|
||||
bootloader_message boot = {};
|
||||
if (std::string err; !read_bootloader_message(&boot, &err)) {
|
||||
LOG(ERROR) << "Failed to read bootloader message: " << err;
|
||||
|
|
Loading…
Reference in a new issue