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

Commit d1e20428 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...

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

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/3238754



Change-Id: I5503b619d2aa0e23edf77bf6c6178fab28460304
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a9c7d7f0 98cfb7ec
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -7402,8 +7402,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();
                }