diff options
author | Manish Kumar <manishku@codeaurora.org> | 2013-12-05 20:38:56 -0800 |
---|---|---|
committer | Manish Kumar <manishku@codeaurora.org> | 2013-12-05 20:38:56 -0800 |
commit | fa47b05af7b346524d958571ba1728acbbe59e5c (patch) | |
tree | 1bd0bd0f134d8327868667751bf7ac282f8df043 | |
parent | bd81be7cd8cc1f75b67eb3cf9744e88aa27de459 (diff) | |
parent | 865ce3b4a2ba0b3a31421ca671f4d6c5595f8690 (diff) | |
download | android_hardware_ril-fa47b05af7b346524d958571ba1728acbbe59e5c.tar.gz android_hardware_ril-fa47b05af7b346524d958571ba1728acbbe59e5c.tar.bz2 android_hardware_ril-fa47b05af7b346524d958571ba1728acbbe59e5c.zip |
Merge commit 'android-4.4.1_r1' into merge_branch
* commit 'android-4.4.1_r1':
Fix documenation IMS registration state.
-rw-r--r-- | include/telephony/ril.h | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h index 6b8deab..0988f32 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -3698,13 +3698,16 @@ typedef struct { * ((int *)response)[0] is registration state: * 0 - Not registered * 1 - Registered - * ((int *)response)[1] is bitmap of the supported services: - * & 0x1 - SMS supported * - * If IMS is registered and supports SMS, then ((int *) response)[2] + * If ((int*)response)[0] is = 1, then ((int *) response)[1] * must follow with IMS SMS format: * - * ((int *) response)[2] is of type const RIL_IMS_SMS_Format + * ((int *) response)[1] is of type RIL_RadioTechnologyFamily + * + * Valid errors: + * SUCCESS + * RADIO_NOT_AVAILABLE + * GENERIC_FAILURE */ #define RIL_REQUEST_IMS_REGISTRATION_STATE 112 @@ -4279,22 +4282,18 @@ typedef struct { */ #define RIL_UNSOL_CELL_INFO_LIST 1036 -/* +/** * RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED * * Called when IMS registration state has changed * - * "data" is int * - * ((int *)response)[0] is registration state: - * 0 - Not registered - * 1 - Registered - * ((int *)response)[1] is bitmap of the services supported: - * & 0x1 - SMS supported + * To get IMS registration state and IMS SMS format, callee needs to invoke the + * following request on main thread: * - * If IMS is registered and supports SMS, then ((int *) response)[2] - * must follow with IMS SMS format: + * RIL_REQUEST_IMS_REGISTRATION_STATE + * + * "data" is NULL * - * ((int *) response)[2] is of type const RIL_IMS_SMS_Format */ #define RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED 1037 |