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

Commit 18645e77 authored by Sandeep Kunta's avatar Sandeep Kunta Committed by Linux Build Service Account
Browse files

MSIM: Add support for DSDA

1. inform to clients whenever active sub change information
is received from telephony service.
2. inform local call hold status to RIL, whenever update on
the same is received.

Change-Id: If45351cce38c1ef0ea20ca45a821edd1fa594c82
parent 10cabf2d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -900,4 +900,8 @@ public abstract class BaseCommands implements CommandsInterface {
          mLceInfoRegistrant = null;
      }
    }

    @Override
    public void setLocalCallHold(boolean lchStatus) {
    }
}
+2 −1
Original line number Diff line number Diff line
@@ -2319,7 +2319,8 @@ public final class CallManager {
                    if (VDBG) Rlog.d(LOG_TAG, " handleMessage (EVENT_NEW_RINGING_CONNECTION)");
                    Connection c = (Connection) ((AsyncResult) msg.obj).result;
                    int subId = c.getCall().getPhone().getSubId();
                    if (getActiveFgCallState(subId).isDialing() || hasMoreThanOneRingingCall()) {
                    if (getActiveFgCallState(subId).isDialing() ||
                            hasMoreThanOneRingingCall(subId)) {
                        try {
                            Rlog.d(LOG_TAG, "silently drop incoming call: " + c.getCall());
                            c.getCall().hangup();
+6 −0
Original line number Diff line number Diff line
@@ -2018,4 +2018,10 @@ public interface CommandsInterface {
     * @param result Callback message contains the modem activity information
     */
    public void getModemActivityInfo(Message result);

    /**
     * Request to update the current local call hold state.
     * @param lchStatus, true if call is in lch state
     */
    public void setLocalCallHold(boolean lchStatus);
}
+5 −0
Original line number Diff line number Diff line
@@ -2112,4 +2112,9 @@ public interface Phone {
     * Returns the modem activity information
     */
    public void getModemActivityInfo(Message response);

    /** Request to update the current local call hold state.
     * @param lchStatus, true if call is in lch state
     */
    public void setLocalCallHold(boolean lchStatus);
}
+5 −0
Original line number Diff line number Diff line
@@ -2600,4 +2600,9 @@ public abstract class PhoneBase extends Handler implements Phone {
    public void requestChangeCbPsw(String facility, String oldPwd, String newPwd, Message result) {
        logUnexpectedCdmaMethodCall("requestChangeCbPsw");
    }

    @Override
    public void setLocalCallHold(boolean lchStatus) {
        mCi.setLocalCallHold(lchStatus);
    }
}
Loading