From 9e3932f78742d99425d4bf7581021926ae067545 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 4 Aug 2023 22:47:58 +0200 Subject: [PATCH] recovery: Simplify reboot recovery reason It seems like "userrequested,recovery,ui" doesn't work properly on some devices. Change-Id: I75cba959d5f3d9d692f279e0f11e96b292c26e94 --- install/install.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.cpp b/install/install.cpp index be1b4a87..f4486c5d 100644 --- a/install/install.cpp +++ b/install/install.cpp @@ -424,7 +424,7 @@ static InstallResult TryUpdateBinary(Package* package, bool* wipe_cache, if (std::string err; !clear_bootloader_message(&err)) { LOG(ERROR) << "Failed to clear BCB message: " << err; } - Reboot("userrequested,recovery,ui"); + Reboot("recovery"); }; static bool ab_package_installed = false;