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

Commit 79d95556 authored by Tianjie Xu's avatar Tianjie Xu Committed by android-build-merger
Browse files

Merge "Revert "init: Write the reason in BCB on "reboot recovery"""

am: 85bbbe56

Change-Id: I0c7234ad4b1d797ae031844b51df4d717f44e6a7
parents 6aa4d948 85bbbe56
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -669,13 +669,6 @@ bool HandlePowerctlMessage(const std::string& command) {
                                  "bootloader_message: "
                               << err;
                }
            } else if (reboot_target == "recovery") {
                const std::vector<std::string> options = {};
                std::string err;
                if (!write_bootloader_message(options, &err)) {
                    LOG(ERROR) << "Failed to set bootloader message: " << err;
                    return false;
                }
            } else if (reboot_target == "sideload" || reboot_target == "sideload-auto-reboot" ||
                       reboot_target == "fastboot") {
                std::string arg = reboot_target == "sideload-auto-reboot" ? "sideload_auto_reboot"