summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2023-02-15 10:07:30 +0100
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-02-15 10:07:30 +0100
commit1d35655b879cf78e7962c05a77f7fb201156dd05 (patch)
tree689d71de9cdef1ffdc0ed958dfae14754909ec55
parentMerge "Reduce logs in update_verifier" am: f891951d07 am: 365c8c0b54 (diff)
parentMerge "Revert "Fix doing silent update,power cut/restoration,screen is turned on"" am: 33f7eaccd3 (diff)
downloadandroid_bootable_recovery-1d35655b879cf78e7962c05a77f7fb201156dd05.tar
android_bootable_recovery-1d35655b879cf78e7962c05a77f7fb201156dd05.tar.gz
android_bootable_recovery-1d35655b879cf78e7962c05a77f7fb201156dd05.tar.bz2
android_bootable_recovery-1d35655b879cf78e7962c05a77f7fb201156dd05.tar.lz
android_bootable_recovery-1d35655b879cf78e7962c05a77f7fb201156dd05.tar.xz
android_bootable_recovery-1d35655b879cf78e7962c05a77f7fb201156dd05.tar.zst
android_bootable_recovery-1d35655b879cf78e7962c05a77f7fb201156dd05.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) {