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

Commit 3c19f958 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: 13f96529

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

Change-Id: I5276a0418700c0583d02f5c8f8866f3ead454f28
parents 02263f2c 13f96529
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5857,7 +5857,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