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

Commit e85b9da2 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "audio policy: fix in call volume over USB" into nyc-dev

parents 88c3cda7 18fba840
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4936,7 +4936,7 @@ status_t AudioPolicyManager::checkAndSetVolume(audio_stream_type_t stream,
            voiceVolume = 1.0;
        }

        if (voiceVolume != mLastVoiceVolume && outputDesc == mPrimaryOutput) {
        if (voiceVolume != mLastVoiceVolume) {
            mpClientInterface->setVoiceVolume(voiceVolume, delayMs);
            mLastVoiceVolume = voiceVolume;
        }