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

Commit 98cfb7ec authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Revert "Fix audio glitch when starting/stopping HFP call"" into main am: 3b3d3c0d

parents b0289cda 3b3d3c0d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -7286,8 +7286,7 @@ void AudioPolicyManager::checkOutputForAttributes(const audio_attributes_t &attr
            if (status != OK) {
                continue;
            }
            if ((client->getPrimaryMix() && client->getPrimaryMix() != primaryMix)
                    || client->hasLostPrimaryMix()) {
            if (client->getPrimaryMix() != primaryMix || client->hasLostPrimaryMix()) {
                if (desc->isStrategyActive(psId) && maxLatency < desc->latency()) {
                    maxLatency = desc->latency();
                }