Scan for quiescent in sub reason and details
Bug: 326526460 Test: manual (b/320369923#comment19) Change-Id: I702841bf1afa6a04318b8233eb6ddb89c46b7ad5
This commit is contained in:
parent
b2bfb972e8
commit
b46e5e6d0b
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