Loading src/com/android/server/telecom/bluetooth/BluetoothDeviceManager.java +2 −0 Original line number Diff line number Diff line Loading @@ -429,6 +429,7 @@ public class BluetoothDeviceManager { if (mAudioManager.getCommunicationDevice() != null && mAudioManager.getCommunicationDevice().getType() == AudioDeviceInfo.TYPE_BLE_HEADSET) { mBluetoothRouteManager.onAudioLost(mAudioManager.getCommunicationDevice().getAddress()); mAudioManager.clearCommunicationDevice(); mLeAudioSetAsCommunicationDevice = false; } Loading Loading @@ -493,6 +494,7 @@ public class BluetoothDeviceManager { Log.w(this, " Could not set bleHeadset device"); } else { Log.i(this, " bleHeadset device set"); mBluetoothRouteManager.onAudioOn(bleHeadset.getAddress()); mLeAudioSetAsCommunicationDevice = true; } return result; Loading src/com/android/server/telecom/bluetooth/BluetoothStateReceiver.java +2 −1 Original line number Diff line number Diff line Loading @@ -196,9 +196,10 @@ public class BluetoothStateReceiver extends BroadcastReceiver { Log.w(LOG_TAG, "Device %s cannot be use as hearing aid communication device.", device); } else { mBluetoothRouteManager.sendMessage(BT_AUDIO_IS_ON, args); } } mBluetoothRouteManager.sendMessage(BT_AUDIO_IS_ON, args); } } } Loading Loading
src/com/android/server/telecom/bluetooth/BluetoothDeviceManager.java +2 −0 Original line number Diff line number Diff line Loading @@ -429,6 +429,7 @@ public class BluetoothDeviceManager { if (mAudioManager.getCommunicationDevice() != null && mAudioManager.getCommunicationDevice().getType() == AudioDeviceInfo.TYPE_BLE_HEADSET) { mBluetoothRouteManager.onAudioLost(mAudioManager.getCommunicationDevice().getAddress()); mAudioManager.clearCommunicationDevice(); mLeAudioSetAsCommunicationDevice = false; } Loading Loading @@ -493,6 +494,7 @@ public class BluetoothDeviceManager { Log.w(this, " Could not set bleHeadset device"); } else { Log.i(this, " bleHeadset device set"); mBluetoothRouteManager.onAudioOn(bleHeadset.getAddress()); mLeAudioSetAsCommunicationDevice = true; } return result; Loading
src/com/android/server/telecom/bluetooth/BluetoothStateReceiver.java +2 −1 Original line number Diff line number Diff line Loading @@ -196,9 +196,10 @@ public class BluetoothStateReceiver extends BroadcastReceiver { Log.w(LOG_TAG, "Device %s cannot be use as hearing aid communication device.", device); } else { mBluetoothRouteManager.sendMessage(BT_AUDIO_IS_ON, args); } } mBluetoothRouteManager.sendMessage(BT_AUDIO_IS_ON, args); } } } Loading