diff options
author | Gregory Montoir <gmontoir@google.com> | 2023-02-14 08:23:42 +0100 |
---|---|---|
committer | Gregory Montoir <gmontoir@google.com> | 2023-02-15 02:36:06 +0100 |
commit | 4a4ada9e9c2458f4d601d2428fa0120c2c9f31a0 (patch) | |
tree | b872510d0efa8945b891c196207646952b1de681 /bootloader_message | |
parent | Fix doing silent update,power cut/restoration,screen is turned on (diff) | |
download | android_bootable_recovery-4a4ada9e9c2458f4d601d2428fa0120c2c9f31a0.tar android_bootable_recovery-4a4ada9e9c2458f4d601d2428fa0120c2c9f31a0.tar.gz android_bootable_recovery-4a4ada9e9c2458f4d601d2428fa0120c2c9f31a0.tar.bz2 android_bootable_recovery-4a4ada9e9c2458f4d601d2428fa0120c2c9f31a0.tar.lz android_bootable_recovery-4a4ada9e9c2458f4d601d2428fa0120c2c9f31a0.tar.xz android_bootable_recovery-4a4ada9e9c2458f4d601d2428fa0120c2c9f31a0.tar.zst android_bootable_recovery-4a4ada9e9c2458f4d601d2428fa0120c2c9f31a0.zip |
Diffstat (limited to 'bootloader_message')
-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) { |