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

Commit f8fbef69 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

am: b42ec7ea

Change-Id: Iab9c41d741e0ca62b024850fa02a2a63720c43f2
parents 4a402150 b42ec7ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -249,7 +249,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(