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

Unverified Commit 2654ac81 authored by Alessandro Astone's avatar Alessandro Astone Committed by Michael Bestas
Browse files

reboot: allow opting-in to fastbootd

Change-Id: Iaf5eb813e848ef05b1b455ebfe3643f4a8b4f80d
parent 020139af
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1022,7 +1022,8 @@ void HandlePowerctlMessage(const std::string& command) {
            // adb reboot fastboot should boot into bootloader for devices not
            // supporting logical partitions.
            if (reboot_target == "fastboot" &&
                !android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) {
                !android::base::GetBoolProperty("ro.boot.dynamic_partitions", false) &&
                !android::base::GetBoolProperty("ro.fastbootd.available", false)) {
                reboot_target = "bootloader";
            }
            // When rebooting to the bootloader notify the bootloader writing