Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 722b1861 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Revert "Fix doing silent update,power cut/restoration,screen is turned...

Merge "Revert "Fix doing silent update,power cut/restoration,screen is turned on"" am: 33f7eacc am: 4139617b am: 1d35655b

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2434913



Change-Id: I21f8d40a6126f618db7d2f38cbe6f0440f190e5f
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 33b8b6b3 1d35655b
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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));
  }

  std::string recovery = "recovery\n";
  for (const auto& s : options) {