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

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

default drm hidl: Fix decrypt destination base ptr

Bug: 144351324
Test: poc_CryptoPlugin_155
Change-Id: Id5d221cd6978d55c46c0368aceb10c1d2f559fd9
parent d22f1447
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -143,6 +143,7 @@ namespace implementation {
                return Void();
            }

            base = static_cast<uint8_t *>(static_cast<void *>(destBase->getPointer()));
            destPtr = static_cast<void *>(base + destination.nonsecureMemory.offset);
        } else if (destination.type == BufferType::NATIVE_HANDLE) {
            if (!secure) {