Loading android/app/src/com/android/bluetooth/hfp/HeadsetService.java +1 −2 Original line number Diff line number Diff line Loading @@ -1896,8 +1896,7 @@ public class HeadsetService extends ProfileService { public void onConnectionStateChangedFromStateMachine(BluetoothDevice device, int fromState, int toState) { synchronized (mStateMachines) { List<BluetoothDevice> audioConnectableDevices = getDevicesMatchingConnectionStates(CONNECTING_CONNECTED_STATES); List<BluetoothDevice> audioConnectableDevices = getConnectedDevices(); if (fromState != BluetoothProfile.STATE_CONNECTED && toState == BluetoothProfile.STATE_CONNECTED) { if (audioConnectableDevices.size() > 1) { Loading Loading
android/app/src/com/android/bluetooth/hfp/HeadsetService.java +1 −2 Original line number Diff line number Diff line Loading @@ -1896,8 +1896,7 @@ public class HeadsetService extends ProfileService { public void onConnectionStateChangedFromStateMachine(BluetoothDevice device, int fromState, int toState) { synchronized (mStateMachines) { List<BluetoothDevice> audioConnectableDevices = getDevicesMatchingConnectionStates(CONNECTING_CONNECTED_STATES); List<BluetoothDevice> audioConnectableDevices = getConnectedDevices(); if (fromState != BluetoothProfile.STATE_CONNECTED && toState == BluetoothProfile.STATE_CONNECTED) { if (audioConnectableDevices.size() > 1) { Loading