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

Commit 1bf6e820 authored by Shunkai Yao's avatar Shunkai Yao
Browse files

EffectProxy: remove the AUXILIARY flag copy

now that we use the SW sub-effect descriptor as proxy descriptor, do not need to set flags individually

Bug: 328167080
Test: m
Test: atest CtsMediaAudioTestCases
Change-Id: Iffb4cdfb57c3a123ce37ba64096cf5794ba3630a
parent 1b7efb0b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -206,10 +206,6 @@ Descriptor::Common EffectProxy::buildDescriptorCommon(
            ALOGW("Inconsistent flags %s vs %s", desc.common.flags.toString().c_str(),
                  firstFlag.toString().c_str());
        }
        // set to AUXILIARY if any sub-effect is of AUXILIARY type
        if (desc.common.flags.type == Flags::Type::AUXILIARY) {
            common.flags.type = Flags::Type::AUXILIARY;
        }
    }

    swCommon.flags.offloadIndication = offloadExist;