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

Commit 220b6ebd authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "fastbootd: use FastbootDevice::GetCurrentSlot to get current slot suffix"

parents 824f0095 45719a8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -261,7 +261,7 @@ bool SetActiveHandler(FastbootDevice* device, const std::vector<std::string>& ar
    }
    }


    // If the slot is not changing, do nothing.
    // If the slot is not changing, do nothing.
    if (slot == boot_control_hal->getCurrentSlot()) {
    if (args[1] == device->GetCurrentSlot()) {
        return device->WriteOkay("");
        return device->WriteOkay("");
    }
    }