diff options
| author | LuK1337 <priv.luk@gmail.com> | 2023-08-04 22:47:58 +0200 |
|---|---|---|
| committer | LuK1337 <priv.luk@gmail.com> | 2023-08-04 22:52:35 +0200 |
| commit | a18688e5b8ebd59678f75a7046e0291ff1475c1c (patch) | |
| tree | 89b19f71296c77801c34504a08e5b746eb92ad90 | |
| parent | 2a70656faaed1b7c2c63d9af9676154f3ee90bf7 (diff) | |
recovery: Simplify reboot recovery reason
It seems like "userrequested,recovery,ui" doesn't work properly on some
devices.
Change-Id: I75cba959d5f3d9d692f279e0f11e96b292c26e94
| -rw-r--r-- | install/install.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/install.cpp b/install/install.cpp index 0bd2ea11..11a6b3ff 100644 --- a/install/install.cpp +++ b/install/install.cpp @@ -389,7 +389,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; |
