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

Commit f4374988 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Use dupFromAidl() for sidebandStream" into udc-dev am: e61670d5 am: 5c7195a5

parents 1cd782eb 5c7195a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -108,7 +108,7 @@ int JTvInputHal::addOrUpdateStream(int deviceId, int streamId, const sp<Surface>
                  status.getServiceSpecificError());
                  status.getServiceSpecificError());
            return UNKNOWN_ERROR;
            return UNKNOWN_ERROR;
        }
        }
        connection.mSourceHandle = NativeHandle::create(makeFromAidl(sidebandStream), true);
        connection.mSourceHandle = NativeHandle::create(dupFromAidl(sidebandStream), true);
    }
    }
    connection.mSurface = surface;
    connection.mSurface = surface;
    if (connection.mSurface != nullptr) {
    if (connection.mSurface != nullptr) {