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

Commit 1c9ba65e authored by Max Spector's avatar Max Spector Committed by android-build-merger
Browse files

Merge "Fixing safteynet logging bug introduced in ag/862848" into mnc-dev am:...

Merge "Fixing safteynet logging bug introduced in ag/862848" into mnc-dev am: 93edd483 am: 032fcf30 am: c802d209
am: 81b6cc61

* commit '81b6cc61':
  Fixing safteynet logging bug introduced in ag/862848
parents 0d0a9e2f 81b6cc61
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -956,10 +956,6 @@ status_t BnOMX::onTransact(
            MetadataBufferType type = kMetadataBufferTypeInvalid;
            MetadataBufferType type = kMetadataBufferTypeInvalid;
            status_t err = storeMetaDataInBuffers(node, port_index, enable, &type);
            status_t err = storeMetaDataInBuffers(node, port_index, enable, &type);


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

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


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