Loading core/java/android/server/BluetoothA2dpService.java +6 −4 Original line number Diff line number Diff line Loading @@ -188,12 +188,14 @@ public class BluetoothA2dpService extends IBluetoothA2dp.Stub { private boolean isSinkDevice(String address) { String uuids[] = mBluetoothService.getRemoteUuids(address); UUID uuid; if (uuids != null) { for (String deviceUuid: uuids) { uuid = UUID.fromString(deviceUuid); if (BluetoothUuid.isAudioSink(uuid)) { return true; } } } return false; } Loading Loading
core/java/android/server/BluetoothA2dpService.java +6 −4 Original line number Diff line number Diff line Loading @@ -188,12 +188,14 @@ public class BluetoothA2dpService extends IBluetoothA2dp.Stub { private boolean isSinkDevice(String address) { String uuids[] = mBluetoothService.getRemoteUuids(address); UUID uuid; if (uuids != null) { for (String deviceUuid: uuids) { uuid = UUID.fromString(deviceUuid); if (BluetoothUuid.isAudioSink(uuid)) { return true; } } } return false; } Loading