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

Commit 09b05f02 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AudioService: fix voice volume adjustments" into main

parents 34463284 6c5591bb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7124,7 +7124,8 @@ public class AudioService extends IAudioService.Stub
        switch (mPlatformType) {
        case AudioSystem.PLATFORM_VOICE:
            if (isInCommunication()) {
            if (isInCommunication()
                    || mAudioSystem.isStreamActive(AudioManager.STREAM_VOICE_CALL, 0)) {
                if (mDeviceBroker.isBluetoothScoActive()) {
                    // Log.v(TAG, "getActiveStreamType: Forcing STREAM_BLUETOOTH_SCO...");
                    return AudioSystem.STREAM_BLUETOOTH_SCO;