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

Commit 1910df58 authored by Ravindra's avatar Ravindra Committed by Linux Build Service Account
Browse files

Routing of audio path to Bluetooth

Do not route the audio path to bluetooth until bluetooth audio connection is
established.

CRs-Fixed: 748103

Change-Id: I430dd9775b2fc9b6144be55ba644fdc273e2e79b
parent 1f0eae82
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -449,7 +449,7 @@ final class CallAudioManager extends CallsManagerListenerBase
        //     *will* be routed to a bluetooth headset once the call is answered. In this case, just
        //     check if the headset is available. Note this only applies when we are dealing with
        //     the first call.
        if (call != null && mBluetoothManager.isBluetoothAvailable()) {
        if (call != null && mBluetoothManager.isBluetoothAvailable() && isBluetoothAudioOn()) {
            switch(call.getState()) {
                case CallState.ACTIVE:
                case CallState.ON_HOLD: