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

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

Merge "Omit communication device type change in BSR" into main

parents e07ef702 cfbc07d6
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -260,14 +260,6 @@ public class BluetoothStateReceiver extends BroadcastReceiver {
                        device.getAddress())) {
                    Log.i(this, "handleActiveDeviceChanged: Failed to set "
                            + "communication device for %s.", device);
                } else {
                    // Track the currently set communication device.
                    mCallAudioRouteAdapter.getPendingAudioRoute()
                            .setCommunicationDeviceType(audioRouteType);
                    if (audioRouteType == AudioRoute.TYPE_BLUETOOTH_SCO) {
                        mCallAudioRouteAdapter.getPendingAudioRoute()
                                .addMessage(BT_AUDIO_CONNECTED, device.getAddress());
                    }
                }
            }
        }