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

Commit b3cc78f9 authored by mspector@google.com's avatar mspector@google.com
Browse files

Fixing safteynet logging bug from ag/862848 - DO NOT MERGE

We moved the safteynet logging into OMX::storeMetaDataInBuffers
Bug: 26324358

Change-Id: Ia622cbe8f7b0009b7fa55517f7424ecfb82a51c0
parent 1a19076c
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -344,7 +344,13 @@ status_t OMX::getGraphicBufferUsage(

status_t OMX::storeMetaDataInBuffers(
        node_id node, OMX_U32 port_index, OMX_BOOL enable, MetadataBufferType *type) {
    return findInstance(node)->storeMetaDataInBuffers(port_index, enable, type);
    OMXNodeInstance *instance = findInstance(node);

    if (instance == NULL) {
        android_errorWriteLog(0x534e4554, "26324358");
    }

    return instance->storeMetaDataInBuffers(port_index, enable, type);
}

status_t OMX::prepareForAdaptivePlayback(