recovery: Simplify reboot recovery reason
It seems like "userrequested,recovery,ui" doesn't work properly on some devices. Change-Id: I75cba959d5f3d9d692f279e0f11e96b292c26e94
This commit is contained in:
parent
c1fb553b53
commit
9e3932f787
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ static InstallResult TryUpdateBinary(Package* package, bool* wipe_cache,
|
||||||
if (std::string err; !clear_bootloader_message(&err)) {
|
if (std::string err; !clear_bootloader_message(&err)) {
|
||||||
LOG(ERROR) << "Failed to clear BCB message: " << err;
|
LOG(ERROR) << "Failed to clear BCB message: " << err;
|
||||||
}
|
}
|
||||||
Reboot("userrequested,recovery,ui");
|
Reboot("recovery");
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool ab_package_installed = false;
|
static bool ab_package_installed = false;
|
||||||
|
|
Loading…
Reference in a new issue