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

Commit 5b6cba8c authored by Dongwon Kang's avatar Dongwon Kang Committed by android-build-merger
Browse files

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

Merge "Revert "Block allocateBackup if the node is not secure node."" into lmp-dev am: 323f6f51 am: c5e5b382 am: 9dcb2547 am: f603689c
am: 3b0cd870

Change-Id: I005eb041905995447025259eb5778c7b9f7e9c1a
parents 44f4c4d3 3b0cd870
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -1147,13 +1147,6 @@ status_t OMXNodeInstance::allocateBuffer(
        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);

    OMX_BUFFERHEADERTYPE *header;