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

Commit fc5d61df authored by Robert Shih's avatar Robert Shih
Browse files

drm aidl client: dup hidl handle

Bug: 219754570
Test: atest GtsMediaTestCases
Change-Id: I76b750cbbd20cbe84afcc2740246bb9d5ddb2352
parent 17363abf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ static DestinationBufferAidl hidlDestinationBufferToAidlDestinationBuffer(
            auto handle = buffer.secureMemory.getNativeHandle();
            if (handle) {
                aidldb.set<DestinationBufferAidl::Tag::secureMemory>(
                    ::android::makeToAidl(handle));
                    ::android::dupToAidl(handle));
            } else {
                NativeHandleAidlCommon emptyhandle;
                aidldb.set<DestinationBufferAidl::Tag::secureMemory>(