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

Commit b3f6e255 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

fastbootd: use FastbootDevice::GetCurrentSlot to get current slot suffix am: 6c889bb9

Change-Id: I00fbed23c6e6981691a759f50666c502a206c6d8
parents 092d9598 6c889bb9
Loading
Loading
Loading
Loading
+1 −1
Original line number 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 (slot == boot_control_hal->getCurrentSlot()) {
    if (args[1] == device->GetCurrentSlot()) {
        return device->WriteOkay("");
    }