Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d0dcaf5 authored by Rahul Sabnis's avatar Rahul Sabnis Committed by Cherrypicker Worker
Browse files

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
parent 25d4a3a3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -645,6 +645,7 @@ public class BluetoothDeviceManager {
                if (!switchingBtDevices) {
                    return setLeAudioCommunicationDevice();
                }
                return true;
            }
            return false;
        } else if (callProfile == BluetoothProfile.HEARING_AID) {
@@ -655,6 +656,7 @@ public class BluetoothDeviceManager {
                if (!switchingBtDevices) {
                    return setHearingAidCommunicationDevice();
                }
                return true;
            }
            return false;
        } else if (callProfile == BluetoothProfile.HEADSET) {