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

Commit b42ec7ea authored by Robert Shih's avatar Robert Shih Committed by android-build-merger
Browse files

Merge "Add null check in setSidebandStream" into oc-dev

am: ebb1475d

Change-Id: I026089f418e3a4b5f1016f1b0935d9f7c2758621
parents 5a7ae5ec ebb1475d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -248,7 +248,7 @@ Return<int32_t> TWGraphicBufferProducer::disconnect(

Return<int32_t> TWGraphicBufferProducer::setSidebandStream(const hidl_handle& stream) {
    return static_cast<int32_t>(mBase->setSidebandStream(NativeHandle::create(
            native_handle_clone(stream), true)));
            stream ? native_handle_clone(stream) : NULL, true)));
}

Return<void> TWGraphicBufferProducer::allocateBuffers(