Expose adhoc conference calling API as public.

Bug: 159944852
Test: make
Change-Id: I2cf39a6fd8a02ca4f2d0c83c484ab12bb13f74c3
This commit is contained in:
Grace Jia
2020-07-10 15:42:32 -07:00
parent 2ca1abc174
commit 8587ee5cd5
8 changed files with 78 additions and 42 deletions

View File

@@ -383,8 +383,10 @@ public abstract class Connection extends Conferenceable {
/**
* When set, indicates that this {@link Connection} supports initiation of a conference call
* by directly adding participants using {@link #onAddConferenceParticipants(List)}.
* @hide
* by directly adding participants using {@link #onAddConferenceParticipants(List)}. When
* participants are added to a {@link Connection}, it will be replaced by a {@link Conference}
* instance with {@link #PROPERTY_IS_ADHOC_CONFERENCE} set to indicate that it is an adhoc
* conference call.
*/
public static final int CAPABILITY_ADD_PARTICIPANT = 0x04000000;
@@ -526,10 +528,9 @@ public abstract class Connection extends Conferenceable {
public static final int PROPERTY_REMOTELY_HOSTED = 1 << 11;
/**
* Set by the framework to indicate that it is an adhoc conference call.
* Set by the framework to indicate that a call is an adhoc conference call.
* <p>
* This is used for Outgoing and incoming conference calls.
* @hide
* This is used for outgoing and incoming conference calls.
*/
public static final int PROPERTY_IS_ADHOC_CONFERENCE = 1 << 12;
@@ -3009,7 +3010,6 @@ public abstract class Connection extends Conferenceable {
* Supports initiation of a conference call by directly adding participants to an ongoing call.
*
* @param participants with which conference call will be formed.
* @hide
*/
public void onAddConferenceParticipants(@NonNull List<Uri> participants) {}