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

Commit 484b4cd8 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android (Google) Code Review
Browse files

Merge "Don't crash on remote read error, just return"

parents 88977590 19a9fef6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -95,7 +95,10 @@ struct BpMediaHTTPConnection : public BpInterface<IMediaHTTPConnection> {
        data.writeInt32(size);

        status_t err = remote()->transact(READ_AT, data, &reply);
        CHECK_EQ(err, (status_t)OK);
        if (err != OK) {
            ALOGE("remote readAt failed");
            return UNKNOWN_ERROR;
        }

        int32_t exceptionCode = reply.readExceptionCode();