summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2023-02-15 09:18:32 +0100
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-02-15 09:18:32 +0100
commit4139617b9eae3c1b9276de85986f85fb3bdfcee7 (patch)
tree689d71de9cdef1ffdc0ed958dfae14754909ec55
parentMerge "Reduce logs in update_verifier" am: f891951d07 (diff)
parentMerge "Revert "Fix doing silent update,power cut/restoration,screen is turned on"" (diff)
downloadandroid_bootable_recovery-4139617b9eae3c1b9276de85986f85fb3bdfcee7.tar
android_bootable_recovery-4139617b9eae3c1b9276de85986f85fb3bdfcee7.tar.gz
android_bootable_recovery-4139617b9eae3c1b9276de85986f85fb3bdfcee7.tar.bz2
android_bootable_recovery-4139617b9eae3c1b9276de85986f85fb3bdfcee7.tar.lz
android_bootable_recovery-4139617b9eae3c1b9276de85986f85fb3bdfcee7.tar.xz
android_bootable_recovery-4139617b9eae3c1b9276de85986f85fb3bdfcee7.tar.zst
android_bootable_recovery-4139617b9eae3c1b9276de85986f85fb3bdfcee7.zip
-rw-r--r--bootloader_message/bootloader_message.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/bootloader_message/bootloader_message.cpp b/bootloader_message/bootloader_message.cpp
index 0a713eed5..1ea56cd4e 100644
--- a/bootloader_message/bootloader_message.cpp
+++ b/bootloader_message/bootloader_message.cpp
@@ -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));
- }
+ strlcpy(boot->command, "boot-recovery", sizeof(boot->command));
std::string recovery = "recovery\n";
for (const auto& s : options) {