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

Commit e61670d5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use dupFromAidl() for sidebandStream" into udc-dev

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