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

Commit 502d8246 authored by Eric Laurent's avatar Eric Laurent Committed by android-build-merger
Browse files

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

am: 4d35a77f

* commit '4d35a77f':
  audio policy: fix in call volume over USB

Change-Id: Ie6a564ef0577871dd0e1d7612962e49ffd7c5579
parents 6340b16e 4d35a77f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4996,7 +4996,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;
        }