Loading bootloader_message/bootloader_message.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -209,7 +209,11 @@ 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)); } std::string recovery = "recovery\n"; for (const auto& s : options) { Loading Loading
bootloader_message/bootloader_message.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -209,7 +209,11 @@ 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)); } std::string recovery = "recovery\n"; for (const auto& s : options) { Loading