Merge "Use dupFromAidl() for sidebandStream" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e61670d58e
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user