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

Commit 6f04d9ff authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Select correct device for ENFORCE_AUDIBLE" am: 41c7badd am:...

Merge "Select correct device for ENFORCE_AUDIBLE" am: 41c7badd am: 13f96529 am: 3c19f958 am: 302820b3

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

Change-Id: I92e79ab8c215c18346c7c7cdcd35d2ae0ec6a90b
parents 3e5eaf1c 302820b3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6110,7 +6110,8 @@ DeviceVector AudioPolicyManager::getNewOutputDevices(const sp<SwAudioOutputDescr
            return hasVoiceStream(streams) && (outputDesc == mPrimaryOutput ||
                outputDesc->isActive(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) &&
                (isInCall() ||
                 mOutputs.isStrategyActiveOnSameModule(productStrategy, outputDesc));
                 mOutputs.isStrategyActiveOnSameModule(productStrategy, outputDesc)) &&
                !isStreamActive(AUDIO_STREAM_ENFORCED_AUDIBLE, 0);
        };

        // With low-latency playing on speaker, music on WFD, when the first low-latency