diff options
author | John Wang <johnwang@google.com> | 2010-01-29 00:18:54 -0800 |
---|---|---|
committer | John Wang <johnwang@google.com> | 2010-01-29 18:57:25 -0800 |
commit | 5909cf831f0d687e93164daaecc43a2ff792cc3a (patch) | |
tree | 71fd6f46efdbb3877535bdb578cd8c58bd674977 | |
parent | 7f8ded1d8a337b6860dd7329b8a1be0ade4ea290 (diff) | |
download | platform_hardware_ril-eclair-passion-release.tar.gz platform_hardware_ril-eclair-passion-release.tar.bz2 platform_hardware_ril-eclair-passion-release.zip |
Add RIL_UNSOL_RESEND_INCALL_MUTE.android-2.1_r2.1p2android-2.1_r2.1peclair-passion-release
For bug 2400052.
Notification requires user resend mute/unmute to get uplink audio in a call.
-rw-r--r-- | include/telephony/ril.h | 11 | ||||
-rw-r--r-- | libril/ril.cpp | 1 | ||||
-rw-r--r-- | libril/ril_unsol_commands.h | 3 |
3 files changed, 14 insertions, 1 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h index 4dd4bea5..99fd355d 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -3314,6 +3314,17 @@ typedef struct { */ #define RIL_UNSOL_RINGBACK_TONE 1029 +/** + * RIL_UNSOL_RESEND_INCALL_MUTE + * + * Indicates that framework/application need reset the uplink mute state. + * + * There may be situations where the mute state becomes out of sync + * between the application and device in some GSM infrastructures. + * + * "data" is null + */ +#define RIL_UNSOL_RESEND_INCALL_MUTE 1030 /***********************************************************************/ diff --git a/libril/ril.cpp b/libril/ril.cpp index 6f36b8d5..8ec9bba2 100644 --- a/libril/ril.cpp +++ b/libril/ril.cpp @@ -3025,6 +3025,7 @@ requestToString(int request) { case RIL_UNSOL_CDMA_INFO_REC: return "UNSOL_CDMA_INFO_REC"; case RIL_UNSOL_OEM_HOOK_RAW: return "UNSOL_OEM_HOOK_RAW"; case RIL_UNSOL_RINGBACK_TONE: return "UNSOL_RINGBACK_TONE"; + case RIL_UNSOL_RESEND_INCALL_MUTE: return "UNSOL_RESEND_INCALL_MUTE"; default: return "<unknown request>"; } } diff --git a/libril/ril_unsol_commands.h b/libril/ril_unsol_commands.h index 2dc31e66..36607023 100644 --- a/libril/ril_unsol_commands.h +++ b/libril/ril_unsol_commands.h @@ -43,4 +43,5 @@ {RIL_UNSOL_CDMA_OTA_PROVISION_STATUS, responseInts, WAKE_PARTIAL}, {RIL_UNSOL_CDMA_INFO_REC, responseCdmaInformationRecords, WAKE_PARTIAL}, {RIL_UNSOL_OEM_HOOK_RAW, responseRaw, WAKE_PARTIAL}, - {RIL_UNSOL_RINGBACK_TONE, responseInts, WAKE_PARTIAL} + {RIL_UNSOL_RINGBACK_TONE, responseInts, WAKE_PARTIAL}, + {RIL_UNSOL_RESEND_INCALL_MUTE, responseVoid, WAKE_PARTIAL} |