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

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

Fixing safteynet logging bug introduced in ag/862848

We moved the safteynet logging into storeMetaDataInBuffers_l
Bug: 26324358
Change-Id: I2171742b53192ebb71d546bcb8970bb3c68f366f
parent da9ca91f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -925,10 +925,6 @@ status_t BnOMX::onTransact(
            MetadataBufferType type = kMetadataBufferTypeInvalid;
            status_t err = storeMetaDataInBuffers(node, port_index, enable, &type);

            if ((err != OK) && (type == kMetadataBufferTypeInvalid)) {
                android_errorWriteLog(0x534e4554, "26324358");
            }

            reply->writeInt32(type);
            reply->writeInt32(err);

+1 −0
Original line number Diff line number Diff line
@@ -519,6 +519,7 @@ status_t OMXNodeInstance::storeMetaDataInBuffers(
status_t OMXNodeInstance::storeMetaDataInBuffers_l(
        OMX_U32 portIndex, OMX_BOOL enable, MetadataBufferType *type) {
    if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) {
        android_errorWriteLog(0x534e4554, "26324358");
        return BAD_VALUE;
    }