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

Commit dced3096 authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Telephony: Add RUN_AT command" am: b029058a

am: fe2095b5

Change-Id: Idd646345aca98d78a441e276c7e101b55dce94e4
parents c0bd1bd0 fe2095b5
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);