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

Unverified Commit 77715fbe authored by Michael Bestas's avatar Michael Bestas
Browse files

fastboot: Print OemCmdHandler return message on success

This allows OEM commands to print messages in fastboot output.

Test: run fastboot oem getprop ro.boot.rf_version
      and observe property value being printed in console

Change-Id: Id9bd5a107861a790cd02dc87057600de5bb94d42
parent 95d75088
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -254,6 +254,7 @@ bool OemCmdHandler(FastbootDevice* device, const std::vector<std::string>& args)
        return device->WriteStatus(FastbootResult::FAIL, ret.message);
        return device->WriteStatus(FastbootResult::FAIL, ret.message);
    }
    }


    device->WriteInfo(ret.message);
    return device->WriteStatus(FastbootResult::OKAY, ret.message);
    return device->WriteStatus(FastbootResult::OKAY, ret.message);
}
}