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

Commit b4eac742 authored by Pablo Ceballos's avatar Pablo Ceballos Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE BQ: fix some uninitialized variables" into klp-dev

parents 24cd2b96 030172e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -410,7 +410,7 @@ status_t BnGraphicBufferConsumer::onTransact(
        } break;
        case GET_RELEASED_BUFFERS: {
            CHECK_INTERFACE(IGraphicBufferConsumer, data, reply);
            uint32_t slotMask;
            uint32_t slotMask = 0;
            status_t result = getReleasedBuffers(&slotMask);
            reply->writeInt32(slotMask);
            reply->writeInt32(result);
+1 −0
Original line number Diff line number Diff line
@@ -249,6 +249,7 @@ status_t BnGraphicBufferProducer::onTransact(
            QueueBufferOutput* const output =
                    reinterpret_cast<QueueBufferOutput *>(
                            reply->writeInplace(sizeof(QueueBufferOutput)));
            memset(output, 0, sizeof(QueueBufferOutput));
            status_t res = connect(token, api, producerControlledByApp, output);
            reply->writeInt32(res);
            return NO_ERROR;