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

Commit 7cb3f2dd authored by Vlad Popa's avatar Vlad Popa
Browse files

Remove workaround for SysUI SCO deprecation

Flag: EXEMPT bugfix
Test: check volume change on SCO
Bug: 364126437
Change-Id: I4cff5527d53352403dab548e791d93a6252beaf8
parent 58b8a8fb
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -285,7 +285,6 @@ import java.util.Objects;
import java.util.Set;
import java.util.TreeSet;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
@@ -12699,11 +12698,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);