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

Commit 135107ce authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 10314561 from ab48d444 to udc-release

Change-Id: I4c9cd13598698573244a4fb050e59f501ec66195
parents 0647c9a8 ab48d444
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -247,8 +247,9 @@ public class CallEndpointController extends CallsManagerListenerBase {
                    for (BluetoothDevice device : state.getSupportedBluetoothDevices()) {
                    for (BluetoothDevice device : state.getSupportedBluetoothDevices()) {
                        CallEndpoint endpoint = findMatchingBluetoothEndpoint(device);
                        CallEndpoint endpoint = findMatchingBluetoothEndpoint(device);
                        if (endpoint == null) {
                        if (endpoint == null) {
                            String deviceName = device.getName();
                            endpoint = new CallEndpoint(
                            endpoint = new CallEndpoint(
                                    device.getName() != null ? device.getName() : "",
                                    deviceName != null ? deviceName : "",
                                    CallEndpoint.TYPE_BLUETOOTH);
                                    CallEndpoint.TYPE_BLUETOOTH);
                        }
                        }
                        newAvailableEndpoints.add(endpoint);
                        newAvailableEndpoints.add(endpoint);