Revert "Fix doing silent update,power cut/restoration,screen is turned on"

This reverts commit d43ec47f3b.

Bug: 245680635
Reason for revert: SoC specific solution, not standardized and documented for use by other OEMs.

Change-Id: Ide437e0db9d072c1199a715bac8014bc3f041ceb
This commit is contained in:
Gregory Montoir 2023-02-14 07:23:42 +00:00
parent d43ec47f3b
commit 4a4ada9e9c

View file

@ -209,11 +209,7 @@ bool update_bootloader_message_in_struct(bootloader_message* boot,
memset(boot->command, 0, sizeof(boot->command));
memset(boot->recovery, 0, sizeof(boot->recovery));
if (android::base::GetBoolProperty("ro.boot.quiescent", false)) {
strlcpy(boot->command, "boot-recovery,quiescent", sizeof(boot->command));
} else {
strlcpy(boot->command, "boot-recovery", sizeof(boot->command));
}
std::string recovery = "recovery\n";
for (const auto& s : options) {