Prevent merging conference calls hosted on peer device.
With IMS, the "multiparty" bit on an ImsCall is set to "true" when a call is merged into a conference. This not only occurs on the device hosting the conference call, but also on the devices of the callers merged into the conference. This CL adds a listener to the ImsCallSessionListener which is used to communicate a change in the multiparty state of an ImsCallSession to the ImsCall. This solves a problem where the RIL knows of the change, but since there is no callback, the change is not noticed by Telephony until another call state change occurrs (e.g. holding the call). Bug: 19478784 Change-Id: I4847ab3b63f6a00a91d1324196f181467d1753a4
This commit is contained in:
@ -115,4 +115,12 @@ interface IImsCallSessionListener {
|
||||
* - {@link com.android.internal.telephony.Phone#TTY_MODE_VCO}
|
||||
*/
|
||||
void callSessionTtyModeReceived(in IImsCallSession session, in int mode);
|
||||
|
||||
/**
|
||||
* Notifies of a change to the multiparty state for this {@code ImsCallSession}.
|
||||
*
|
||||
* @param session The call session.
|
||||
* @param isMultiParty {@code true} if the session became multiparty, {@code false} otherwise.
|
||||
*/
|
||||
void callSessionMultipartyStateChanged(in IImsCallSession session, in boolean isMultiParty);
|
||||
}
|
||||
|
Reference in New Issue
Block a user