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

Commit d06aa903 authored by Sumit Bajpai's avatar Sumit Bajpai
Browse files

BT-DSDA: Put active call to hold by AT+CHLD=2.

When there is only single active call on any sub, AT+CHLD=2
should put the call on hold. This behaviour is inline with
single SIM case.

CRs-Fixed: 791678

Change-Id: Iefe88e93fc5ac6a5e00500be730b8ff85205694f
parent 734966c7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1433,6 +1433,9 @@ public final class BluetoothPhoneService extends Service {
                        callsManager.answerCall(ringingCall, 0);
                    } else if (backgroundCall != null) {
                        callsManager.unholdCall(backgroundCall);
                    } else if (activeCall != null && activeCall.can(PhoneCapabilities.HOLD)) {
                        Log.i(TAG, "Only active call, put that to hold");
                        callsManager.holdCall(activeCall);
                    }
                }
                status = true;