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

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

Merge "Remove workaround for SysUI SCO deprecation" into main

parents 31fc93f7 7cb3f2dd
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -12712,11 +12712,6 @@ public class AudioService extends IAudioService.Stub
            if (mController == null)
                return;
            try {
                // TODO: remove this when deprecating STREAM_BLUETOOTH_SCO
                if (isStreamBluetoothSco(streamType)) {
                    // TODO: notify both sco and voice_call about volume changes
                    streamType = AudioSystem.STREAM_BLUETOOTH_SCO;
                }
                mController.volumeChanged(streamType, flags);
            } catch (RemoteException e) {
                Log.w(TAG, "Error calling volumeChanged", e);