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

Commit 8cecf014 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Return correct error code from IMediaHttpConnection

It returns a boolean, not a status_t

Bug: 21654826
Change-Id: Id364a90598c5cf0bb567b5b25bbc9b7c73412760
parent ad9ef61e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -70,7 +70,7 @@ struct BpMediaHTTPConnection : public BpInterface<IMediaHTTPConnection> {
        int32_t exceptionCode = reply.readExceptionCode();
        int32_t exceptionCode = reply.readExceptionCode();


        if (exceptionCode) {
        if (exceptionCode) {
            return UNKNOWN_ERROR;
            return false;
        }
        }


        sp<IBinder> binder = reply.readStrongBinder();
        sp<IBinder> binder = reply.readStrongBinder();