diff options
| author | 2023-05-18 01:05:10 +0000 | |
|---|---|---|
| committer | 2023-05-18 01:05:10 +0000 | |
| commit | 5c7195a59719c49bb718c4ca808fc3a2ecacc17c (patch) | |
| tree | a7774337e90d2a83c83e5abecb7cdc855cca5c45 | |
| parent | 7b661dbaf7a501d84d08b92d9495e53793726d37 (diff) | |
| parent | e61670d58e7177936fce8df119247a27c5dc9782 (diff) | |
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>
| -rw-r--r-- | services/core/jni/tvinput/JTvInputHal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/jni/tvinput/JTvInputHal.cpp b/services/core/jni/tvinput/JTvInputHal.cpp index 6782b5c8d784..74fdabf95016 100644 --- a/services/core/jni/tvinput/JTvInputHal.cpp +++ b/services/core/jni/tvinput/JTvInputHal.cpp @@ -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) { |