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

Commit 33f7eacc authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents f891951d 4a4ada9e
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) {