summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-02-16 03:01:27 +0100
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-02-16 03:01:27 +0100
commit33ee57b3dfb8734ecb24b1305b2e8891601ade7c (patch)
treeb1b4dc64ac57a1ee5dce0882d30a1d72090357eb
parentSnap for 9576141 from 33b8b6b3682d6085f9892ca404669726623e9102 to udc-release (diff)
parentMerge "Revert "Fix doing silent update,power cut/restoration,screen is turned on"" am: 33f7eaccd3 am: 4139617b9e am: 1d35655b87 (diff)
downloadandroid_bootable_recovery-33ee57b3dfb8734ecb24b1305b2e8891601ade7c.tar
android_bootable_recovery-33ee57b3dfb8734ecb24b1305b2e8891601ade7c.tar.gz
android_bootable_recovery-33ee57b3dfb8734ecb24b1305b2e8891601ade7c.tar.bz2
android_bootable_recovery-33ee57b3dfb8734ecb24b1305b2e8891601ade7c.tar.lz
android_bootable_recovery-33ee57b3dfb8734ecb24b1305b2e8891601ade7c.tar.xz
android_bootable_recovery-33ee57b3dfb8734ecb24b1305b2e8891601ade7c.tar.zst
android_bootable_recovery-33ee57b3dfb8734ecb24b1305b2e8891601ade7c.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) {