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
Merged-In: I0a42ea79a1cd46aa9df3399c4fa2e9396321778a
This commit is contained in:
Grace Jia
2021-01-19 14:58:01 -08:00
parent 942b71b485
commit 4e8dc10871
5 changed files with 122 additions and 4 deletions

View File

@@ -136,4 +136,9 @@ oneway interface IConnectionService {
int error, in Session.Info sessionInfo);
void handoverComplete(String callId, in Session.Info sessionInfo);
void onUsingAlternativeUi(String callId, boolean isUsingAlternativeUi,
in Session.Info sessionInfo);
void onTrackedByNonUiService(String callId, boolean isTracked, in Session.Info sessionInfo);
}