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:
LuK1337 2023-08-04 22:47:58 +02:00 committed by zlewchan
parent c1fb553b53
commit 9e3932f787

View file

@ -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;