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

Commit cc835ef7 authored by Robert Shih's avatar Robert Shih Committed by Presubmit Automerger Backend
Browse files

[automerge] drm aidl client: dup hidl handle 2 2p: a7799d2f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/16952061

Bug: 219754570
Change-Id: I7f57729c4dabcd2e1c15be43394290d36f5dfe5d
parents 0aa08f1f a7799d2f
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;