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

Commit 1326f0f5 authored by Chen Chen's avatar Chen Chen
Browse files

BluetoothInCallService: Ignore disconnecting state

Bug: 197769919
Test: atest BluetoothInstrumentationTests
Manually test Bluetooth HFP in duo
Change-Id: I64367bed9fbe2c8a7347aa3b73ad3c0f4971fac2
parent ac7feaca
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -187,6 +187,10 @@ public class BluetoothInCallService extends InCallService {
            if (call.isExternalCall()) {
                return;
            }
            if (state == Call.STATE_DISCONNECTING) {
                mLastState = state;
                return;
            }

            // If a BluetoothCall is being put on hold because of a new connecting call, ignore the
            // CONNECTING since the BT state update needs to send out the numHeld = 1 + dialing