Skip to content

Commit

Permalink
recovery: Simplify reboot recovery reason
Browse files Browse the repository at this point in the history
It seems like "userrequested,recovery,ui" doesn't work properly on some
devices.

Change-Id: I75cba959d5f3d9d692f279e0f11e96b292c26e94
  • Loading branch information
luk1337 authored and basamaryan committed Aug 10, 2023
1 parent c6ea4e5 commit 220ead3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/install.cpp
Expand Up @@ -388,7 +388,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;
Expand Down

0 comments on commit 220ead3

Please sign in to comment.