From d7c7e641ef2ff475617c169553ad55d07590fb79 Mon Sep 17 00:00:00 2001 From: Amit Mahajan Date: Wed, 28 Dec 2016 17:30:04 -0800 Subject: [PATCH] Minor fixes in IRadioIndication.hal Test: none Bug: 32020264 Change-Id: Ib8540a444c4b98ff033a8e2c519dd25e9b853c57 --- radio/1.0/IRadioIndication.hal | 10 ++++++---- radio/1.0/types.hal | 4 +--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/radio/1.0/IRadioIndication.hal b/radio/1.0/IRadioIndication.hal index 4dbae1710f..79ebf30d17 100644 --- a/radio/1.0/IRadioIndication.hal +++ b/radio/1.0/IRadioIndication.hal @@ -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 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 cmd); + oneway stkEventNotify(RadioIndicationType type, string cmd); /* * Indicates when SIM wants application to setup a voice call. diff --git a/radio/1.0/types.hal b/radio/1.0/types.hal index 926ee840a7..8c7f538c71 100644 --- a/radio/1.0/types.hal +++ b/radio/1.0/types.hal @@ -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