commit | 4d0dcaf58cb8589be531f615032808631988721e | [log] [tgz] |
---|---|---|
author | Rahul Sabnis <rahulsabnis@google.com> | Mon Jun 12 14:23:24 2023 -0700 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Thu Jun 22 18:18:56 2023 +0000 |
tree | 2597bfa445a15b0cc3fc3583a698f7508921aac0 | |
parent | 25d4a3a37cce5f74e32b1d28e8f4b7041586984e [diff] |
Re-add return statements accidentally removed in aosp/2461534 Bug: 283238283 Test: atest BluetoothDeviceManagerTest (cherry picked from https://android-review.googlesource.com/q/commit:3dfe71069dd1874536a42a9cb441ff0f8a1f1d6a) Merged-In: I8cee8609b439762dffb97fde39ad0becc2b15c78 Change-Id: I8cee8609b439762dffb97fde39ad0becc2b15c78
diff --git a/src/com/android/server/telecom/bluetooth/BluetoothDeviceManager.java b/src/com/android/server/telecom/bluetooth/BluetoothDeviceManager.java index cdc358f..ca0012a 100644 --- a/src/com/android/server/telecom/bluetooth/BluetoothDeviceManager.java +++ b/src/com/android/server/telecom/bluetooth/BluetoothDeviceManager.java
@@ -645,6 +645,7 @@ if (!switchingBtDevices) { return setLeAudioCommunicationDevice(); } + return true; } return false; } else if (callProfile == BluetoothProfile.HEARING_AID) { @@ -655,6 +656,7 @@ if (!switchingBtDevices) { return setHearingAidCommunicationDevice(); } + return true; } return false; } else if (callProfile == BluetoothProfile.HEADSET) {