summaryrefslogtreecommitdiff
path: root/src/com/android/server/telecom/bluetooth/BluetoothRouteManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/server/telecom/bluetooth/BluetoothRouteManager.java')
-rw-r--r--src/com/android/server/telecom/bluetooth/BluetoothRouteManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/server/telecom/bluetooth/BluetoothRouteManager.java b/src/com/android/server/telecom/bluetooth/BluetoothRouteManager.java
index 7966f73d9..bce6e9959 100644
--- a/src/com/android/server/telecom/bluetooth/BluetoothRouteManager.java
+++ b/src/com/android/server/telecom/bluetooth/BluetoothRouteManager.java
@@ -78,6 +78,7 @@ public class BluetoothRouteManager extends StateMachine {
void onBluetoothActiveDevicePresent();
void onBluetoothActiveDeviceGone();
void onBluetoothAudioConnected();
+ void onBluetoothAudioConnecting();
void onBluetoothAudioDisconnected();
/**
* This gets called when we get an unexpected state change from Bluetooth. Their stack does
@@ -231,8 +232,7 @@ public class BluetoothRouteManager extends StateMachine {
sendMessageDelayed(CONNECTION_TIMEOUT, args,
mTimeoutsAdapter.getBluetoothPendingTimeoutMillis(
mContext.getContentResolver()));
- // Pretend like audio is connected when communicating w/ CARSM.
- mListener.onBluetoothAudioConnected();
+ mListener.onBluetoothAudioConnecting();
}
@Override