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

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

Snap for 7655495 from 1c3c35c0 to sc-qpr1-release

Change-Id: I25c910306332bbd69f0b369fe2d8e53838b0f1e5
parents 67060350 1c3c35c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6548,7 +6548,7 @@ status_t AudioPolicyManager::checkAndSetVolume(IVolumeCurves &curves,
    outputDesc->setVolume(
            volumeDb, volumeSource, curves.getStreamTypes(), deviceTypes, delayMs, force);

    if (isVoiceVolSrc || isBtScoVolSrc) {
    if (outputDesc == mPrimaryOutput && (isVoiceVolSrc || isBtScoVolSrc)) {
        float voiceVolume;
        // Force voice volume to max or mute for Bluetooth SCO as other attenuations are managed by the headset
        if (isVoiceVolSrc) {