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

Commit c1ba8b67 authored by Sumit Bajpai's avatar Sumit Bajpai Committed by Gerrit - the friendly Code Review server
Browse files

BT: Don't send unhold for held when active is dropped by CHLD=1.

When active call is dropped from DUT side, any held call will
automatically move to active. Do not send unhold(heldCall)
explicitly when CHLD=1 drops active call.

CRs-Fixed: 803638
Change-Id: I80375572adb476802071a506b84aa4a8a2c0d610

Conflicts:
	src/com/android/server/telecom/BluetoothPhoneService.java
parent f2754d26
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -629,8 +629,6 @@ public final class BluetoothPhoneService extends Service {
                callsManager.disconnectCall(activeCall);
                if (ringingCall != null) {
                    callsManager.answerCall(ringingCall, ringingCall.getVideoState());
                } else if (heldCall != null) {
                    callsManager.unholdCall(heldCall);
                }
                return true;
            }
@@ -1401,8 +1399,6 @@ public final class BluetoothPhoneService extends Service {
                        callsManager.disconnectCall(activeCall);
                        if (ringingCall != null) {
                            callsManager.answerCall(ringingCall, 0);
                        } else if (backgroundCall != null) {
                            callsManager.unholdCall(backgroundCall);
                        }
                    }
                }