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

Commit 86508eb0 authored by Robert Shih's avatar Robert Shih Committed by Android (Google) Code Review
Browse files

Merge "drm aidl client: dup hidl handle 2" into tm-dev

parents 3788b2d9 a7799d2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -375,7 +375,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;