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

Commit 16be8b32 authored by Dongwon Kang's avatar Dongwon Kang
Browse files

Revert "Block allocateBackup if the node is not secure node."

This reverts commit 996be3ee.

Bug: 63522818
Change-Id: I1ba89c4f5f2ca0dc9295147b5b4f69e3e0a5c7df
parent 996be3ee
Loading
Loading
Loading
Loading
+0 −7
Original line number Original line Diff line number Diff line
@@ -927,13 +927,6 @@ status_t OMXNodeInstance::allocateBuffer(
        return BAD_VALUE;
        return BAD_VALUE;
    }
    }


    if (!mIsSecure) {
        // This method is used only with secure codecs in this release.
        ALOGE("b/63522818");
        android_errorWriteLog(0x534e4554, "63522818");
        return ERROR_UNSUPPORTED;
    }

    BufferMeta *buffer_meta = new BufferMeta(size, portIndex);
    BufferMeta *buffer_meta = new BufferMeta(size, portIndex);


    OMX_BUFFERHEADERTYPE *header;
    OMX_BUFFERHEADERTYPE *header;