Ims: Add support to add participants to existing call
Supports initiation of a conference call by directly adding participants to existing call Test: Manual Bug: 62151032 Change-Id: I4e60efafab4761ae65a460fdc6c4cacc3e233220
This commit is contained in:
@@ -376,8 +376,13 @@ public abstract class Connection extends Conferenceable {
|
||||
/** Call supports the deflect feature. */
|
||||
public static final int CAPABILITY_SUPPORT_DEFLECT = 0x02000000;
|
||||
|
||||
/**
|
||||
* When set, indicates that this {@link Connection} supports initiation of a conference call
|
||||
* by directly adding a participant using {@link #onAddConferenceParticipants()}.
|
||||
*/
|
||||
public static final int CAPABILITY_ADD_PARTICIPANT = 0x04000000;
|
||||
//**********************************************************************************************
|
||||
// Next CAPABILITY value: 0x04000000
|
||||
// Next CAPABILITY value: 0x08000000
|
||||
//**********************************************************************************************
|
||||
|
||||
/**
|
||||
@@ -953,7 +958,9 @@ public abstract class Connection extends Conferenceable {
|
||||
if ((capabilities & CAPABILITY_SUPPORT_DEFLECT) == CAPABILITY_SUPPORT_DEFLECT) {
|
||||
builder.append(isLong ? " CAPABILITY_SUPPORT_DEFLECT" : " sup_def");
|
||||
}
|
||||
|
||||
if ((capabilities & CAPABILITY_ADD_PARTICIPANT) == CAPABILITY_ADD_PARTICIPANT) {
|
||||
builder.append(isLong ? " CAPABILITY_ADD_PARTICIPANT" : " add_participant");
|
||||
}
|
||||
builder.append("]");
|
||||
return builder.toString();
|
||||
}
|
||||
@@ -2952,6 +2959,13 @@ public abstract class Connection extends Conferenceable {
|
||||
*/
|
||||
public void onSeparate() {}
|
||||
|
||||
/**
|
||||
* Supports initiation of a conference call by directly adding participants.
|
||||
*
|
||||
* @param participants with which conference call will be formed.
|
||||
*/
|
||||
public void onAddConferenceParticipants(@NonNull List<Uri> participants) {}
|
||||
|
||||
/**
|
||||
* Notifies this Connection of a request to abort.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user