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

Commit b029058a authored by Brad Ebinger's avatar Brad Ebinger Committed by Gerrit Code Review
Browse files

Merge "Telephony: Add RUN_AT command"

parents 266c877c 02d6e38d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@ public interface AppInterface {
        SEND_SS(0x11),
        SEND_USSD(0x12),
        SEND_SMS(0x13),
        RUN_AT(0x34),
        SEND_DTMF(0x14),
        SET_UP_EVENT_LIST(0x05),
        SET_UP_IDLE_MODE_TEXT(0x28),
+1 −0
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@ public class CatCmdMessage implements Parcelable {
        case SET_UP_IDLE_MODE_TEXT:
        case SEND_DTMF:
        case SEND_SMS:
        case RUN_AT:
        case SEND_SS:
        case SEND_USSD:
            mTextMsg = ((DisplayTextParams) cmdParams).mTextMsg;
+6 −0
Original line number Diff line number Diff line
@@ -440,6 +440,12 @@ public class CatService extends Handler implements AppInterface {
            case GET_INPUT:
            case GET_INKEY:
                break;
            case RUN_AT:
                if (STK_DEFAULT.equals(((DisplayTextParams)cmdParams).mTextMsg.text)) {
                    // Remove the default text which was temporarily added and shall not be shown
                    ((DisplayTextParams)cmdParams).mTextMsg.text = null;
                }
                break;
            case SEND_DTMF:
            case SEND_SMS:
            case SEND_SS:
+1 −0
Original line number Diff line number Diff line
@@ -188,6 +188,7 @@ class CommandParamsFactory extends Handler {
                 break;
             case SEND_DTMF:
             case SEND_SMS:
             case RUN_AT:
             case SEND_SS:
             case SEND_USSD:
                 cmdPending = processEventNotify(cmdDet, ctlvs);