diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2023-02-15 08:30:34 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2023-02-15 08:30:34 +0100 |
commit | 33f7eaccd36f5d5e23d1cbee5229b7ce606a9eb4 (patch) | |
tree | b1b4dc64ac57a1ee5dce0882d30a1d72090357eb | |
parent | Merge "Reduce logs in update_verifier" (diff) | |
parent | Revert "Fix doing silent update,power cut/restoration,screen is turned on" (diff) | |
download | android_bootable_recovery-33f7eaccd36f5d5e23d1cbee5229b7ce606a9eb4.tar android_bootable_recovery-33f7eaccd36f5d5e23d1cbee5229b7ce606a9eb4.tar.gz android_bootable_recovery-33f7eaccd36f5d5e23d1cbee5229b7ce606a9eb4.tar.bz2 android_bootable_recovery-33f7eaccd36f5d5e23d1cbee5229b7ce606a9eb4.tar.lz android_bootable_recovery-33f7eaccd36f5d5e23d1cbee5229b7ce606a9eb4.tar.xz android_bootable_recovery-33f7eaccd36f5d5e23d1cbee5229b7ce606a9eb4.tar.zst android_bootable_recovery-33f7eaccd36f5d5e23d1cbee5229b7ce606a9eb4.zip |
-rw-r--r-- | bootloader_message/bootloader_message.cpp | 6 |
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) { |