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

Commit d7c7e641 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Minor fixes in IRadioIndication.hal

Test: none
Bug: 32020264
Change-Id: Ib8540a444c4b98ff033a8e2c519dd25e9b853c57
parent 4ba8b469
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -81,8 +81,9 @@ interface IRadioIndication {
     * Indicates when new SMS has been stored on SIM card
     *
     * @param type Type of radio indication
     * @param recordNumber Record number on the sim
     */
    oneway newSmsOnSim(RadioIndicationType type);
    oneway newSmsOnSim(RadioIndicationType type, int32_t recordNumber);

    /*
     * Indicates when a new USSD message is received.
@@ -91,8 +92,9 @@ interface IRadioIndication {
     *
     * @param type Type of radio indication
     * @param modeType USSD type code
     * @param msg Message string in UTF-8, if applicable
     */
    oneway onUssd(RadioIndicationType type, UssdModeType modeType);
    oneway onUssd(RadioIndicationType type, UssdModeType modeType, string msg);

    /*
     * Indicates when radio has received a NITZ time message.
@@ -146,7 +148,7 @@ interface IRadioIndication {
     * @param cmd SAT/USAT proactive represented as byte array starting with command tag.
     *        Refer ETSI TS 102.223 section 9.4 for command types
     */
    oneway stkProactiveCommand(RadioIndicationType type, vec<uint8_t> cmd);
    oneway stkProactiveCommand(RadioIndicationType type, string cmd);

    /*
     * Indicates when SIM notifies applcations some event happens.
@@ -157,7 +159,7 @@ interface IRadioIndication {
     *        starting with first byte of response data for command tag. Refer
     *        ETSI TS 102.223 section 9.4 for command types
     */
    oneway stkEventNotify(RadioIndicationType type, vec<uint8_t> cmd);
    oneway stkEventNotify(RadioIndicationType type, string cmd);

    /*
     * Indicates when SIM wants application to setup a voice call.
+1 −3
Original line number Diff line number Diff line
@@ -1789,9 +1789,7 @@ struct SuppSvcNotification {
    bool isMT;                             // notification type
                                           // false = MO intermediate result code
                                           // true = MT unsolicited result code
    bool isCode1;                          // See 27.007 7.17
                                           // true = "code1" for MO
                                           // false = "code2" for MT
    int32_t code;                          // result code. See 27.007 7.17.
    int32_t index;                         // CUG index. See 27.007 7.17.
    int32_t type;                          // "type" from 27.007 7.17 (MT only).
    string number;                         // "number" from 27.007 7.17