Add relative APIs for InCallService that can support self-managed
connections that want to expose itself. Add PhoneAccount#EXTRA_ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICE and Connection#onInCallServiceTrackingChanged. Bug: 161144815 Test: CtsTelecomTestCases Change-Id: I0a42ea79a1cd46aa9df3399c4fa2e9396321778a
This commit is contained in:
@@ -187,6 +187,15 @@ public final class PhoneAccount implements Parcelable {
|
||||
public static final String EXTRA_SKIP_CALL_FILTERING =
|
||||
"android.telecom.extra.SKIP_CALL_FILTERING";
|
||||
|
||||
/**
|
||||
* Boolean {@link PhoneAccount} extras key (see {@link PhoneAccount#getExtras()}) which
|
||||
* indicates whether a Self-managed {@link PhoneAccount} want to expose its calls to all
|
||||
* {@link InCallService} which declares the metadata
|
||||
* {@link TelecomManager#METADATA_INCLUDE_SELF_MANAGED_CALLS}.
|
||||
*/
|
||||
public static final String EXTRA_ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICE =
|
||||
"android.telecom.extra.ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICE";
|
||||
|
||||
/**
|
||||
* Flag indicating that this {@code PhoneAccount} can act as a connection manager for
|
||||
* other connections. The {@link ConnectionService} associated with this {@code PhoneAccount}
|
||||
|
||||
Reference in New Issue
Block a user