summaryrefslogtreecommitdiffstats
path: root/telephony/java/com
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2015-04-01 09:36:19 -0700
committerTyler Gunn <tgunn@google.com>2015-04-01 09:36:19 -0700
commit6b91ebf58c928987ead635bb1c49a16965d4c835 (patch)
treee1b49f563498ef8049a4243a3952587211b14306 /telephony/java/com
parent5fd843b33383266cfe5f79f7ba4c5134c104cda0 (diff)
downloadframeworks_base-6b91ebf58c928987ead635bb1c49a16965d4c835.zip
frameworks_base-6b91ebf58c928987ead635bb1c49a16965d4c835.tar.gz
frameworks_base-6b91ebf58c928987ead635bb1c49a16965d4c835.tar.bz2
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
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl8
1 files changed, 8 insertions, 0 deletions
diff --git a/telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl b/telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl
index 84d1c545..0443c3e 100644
--- a/telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl
+++ b/telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl
@@ -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);
}