Loading src/com/android/server/telecom/bluetooth/BluetoothDeviceManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -250,7 +250,7 @@ public class BluetoothDeviceManager { for (BluetoothDevice device: mBluetoothAdapter.getActiveDevices( BluetoothProfile.HEARING_AID)) { if (device != null) { mBluetoothAdapter.setActiveDevice(null, BluetoothAdapter.ACTIVE_DEVICE_ALL); mBluetoothAdapter.removeActiveDevice(BluetoothAdapter.ACTIVE_DEVICE_ALL); } } } Loading tests/src/com/android/server/telecom/tests/BluetoothDeviceManagerTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -239,7 +239,7 @@ public class BluetoothDeviceManagerTest extends TelecomTestCase { .thenReturn(Arrays.asList(device2, null)); mBluetoothDeviceManager.disconnectAudio(); verify(mAdapter).setActiveDevice(null, BluetoothAdapter.ACTIVE_DEVICE_ALL); verify(mAdapter).removeActiveDevice(BluetoothAdapter.ACTIVE_DEVICE_ALL); verify(mBluetoothHeadset).disconnectAudio(); } Loading Loading
src/com/android/server/telecom/bluetooth/BluetoothDeviceManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -250,7 +250,7 @@ public class BluetoothDeviceManager { for (BluetoothDevice device: mBluetoothAdapter.getActiveDevices( BluetoothProfile.HEARING_AID)) { if (device != null) { mBluetoothAdapter.setActiveDevice(null, BluetoothAdapter.ACTIVE_DEVICE_ALL); mBluetoothAdapter.removeActiveDevice(BluetoothAdapter.ACTIVE_DEVICE_ALL); } } } Loading
tests/src/com/android/server/telecom/tests/BluetoothDeviceManagerTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -239,7 +239,7 @@ public class BluetoothDeviceManagerTest extends TelecomTestCase { .thenReturn(Arrays.asList(device2, null)); mBluetoothDeviceManager.disconnectAudio(); verify(mAdapter).setActiveDevice(null, BluetoothAdapter.ACTIVE_DEVICE_ALL); verify(mAdapter).removeActiveDevice(BluetoothAdapter.ACTIVE_DEVICE_ALL); verify(mBluetoothHeadset).disconnectAudio(); } Loading