Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add RIL_UNSOL_RESEND_INCALL_MUTE.
For bug 2400052.

Notification requires user resend mute/unmute to get uplink audio in a call.
  • Loading branch information
John Wang committed Jan 30, 2010
1 parent 7f8ded1 commit 5909cf8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions include/telephony/ril.h
Expand Up @@ -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
/***********************************************************************/


Expand Down
1 change: 1 addition & 0 deletions libril/ril.cpp
Expand Up @@ -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>";
}
}
Expand Down
3 changes: 2 additions & 1 deletion libril/ril_unsol_commands.h
Expand Up @@ -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}

0 comments on commit 5909cf8

Please sign in to comment.