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

Commit 77444677 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Merge cherrypicks of ['googleplex-android-review.googlesource.com/28949712']...

Merge cherrypicks of ['googleplex-android-review.googlesource.com/28949712'] into sparse-12266011-L91800030005971206.
SPARSE_CHANGE: I61f76b9ab00ec76307dd2d9564ecbc1dbbfe031f

Change-Id: I3f93db48cef7995cebb00070799abb7430a7492f
parents 3f502da0 4ad5d522
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();
                }