Merge "Use dupFromAidl() for sidebandStream" into udc-dev am: e61670d58e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23302343 Change-Id: I11161e1e1aa4c6e4d2b939da1ee1326e55132971 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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