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

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

drm aidl client: dup hidl handle 2

Bug: 219754570
Test: atest GtsMediaTestCases
Change-Id: Ia6bf7a5a5632b2b66290a144b53fa61a620e30c8
parent 07b6cbda
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -376,7 +376,7 @@ int32_t CryptoHalAidl::setHeap(const sp<HidlMemory>& heap) {
    mHeapSizes.add(seqNum, heap->size());

    SharedBufferAidl memAidl;
    memAidl.handle = ::android::makeToAidl(heap->handle());
    memAidl.handle = ::android::dupToAidl(heap->handle());
    memAidl.size = heap->size();
    memAidl.bufferId = bufferId;