summaryrefslogtreecommitdiff
path: root/android/telecom/InCallService.java
diff options
context:
space:
mode:
Diffstat (limited to 'android/telecom/InCallService.java')
-rw-r--r--android/telecom/InCallService.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/android/telecom/InCallService.java b/android/telecom/InCallService.java
index af65c65a..bd25ab2b 100644
--- a/android/telecom/InCallService.java
+++ b/android/telecom/InCallService.java
@@ -428,12 +428,11 @@ public abstract class InCallService extends Service {
* A list of available devices can be obtained via
* {@link CallAudioState#getSupportedBluetoothDevices()}
*
- * @param bluetoothAddress The address of the bluetooth device to connect to, as returned by
- * {@link BluetoothDevice#getAddress()}.
+ * @param bluetoothDevice The bluetooth device to connect to.
*/
- public final void requestBluetoothAudio(@NonNull String bluetoothAddress) {
+ public final void requestBluetoothAudio(@NonNull BluetoothDevice bluetoothDevice) {
if (mPhone != null) {
- mPhone.requestBluetoothAudio(bluetoothAddress);
+ mPhone.requestBluetoothAudio(bluetoothDevice.getAddress());
}
}