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

@@ -461,8 +461,8 @@ public final class Call {
/**
* Call supports adding participants to the call via
* {@link #addConferenceParticipants(List)}.
* @hide
* {@link #addConferenceParticipants(List)}. Once participants are added, the call becomes
* an adhoc conference call ({@link #PROPERTY_IS_ADHOC_CONFERENCE}).
*/
public static final int CAPABILITY_ADD_PARTICIPANT = 0x02000000;
@@ -598,8 +598,11 @@ public final class Call {
/**
* Indicates that the call is an adhoc conference call. This property can be set for both
* incoming and outgoing calls.
* @hide
* incoming and outgoing calls. An adhoc conference call is formed using
* {@link #addConferenceParticipants(List)},
* {@link TelecomManager#addNewIncomingConference(PhoneAccountHandle, Bundle)}, or
* {@link TelecomManager#startConference(List, Bundle)}, rather than by merging existing
* call using {@link #conference(Call)}.
*/
public static final int PROPERTY_IS_ADHOC_CONFERENCE = 0x00002000;
@@ -1766,7 +1769,6 @@ public final class Call {
* See {@link Details#CAPABILITY_ADD_PARTICIPANT}.
*
* @param participants participants to be pulled to existing call.
* @hide
*/
public void addConferenceParticipants(@NonNull List<Uri> participants) {
mInCallAdapter.addConferenceParticipants(mTelecomCallId, participants);