Allow telecom to bind to ICS for self-mgd calls

Also update javadoc to remove outdated information about self-managed
calls.

Bug: 279209119
Test: n/a
Change-Id: I6dba56f7afb8b383904a28042ad6e2a10e0a84b8
This commit is contained in:
Christine Franks
2023-04-21 13:19:01 -07:00
parent 99a5d2d1cd
commit c528bd72f2
2 changed files with 2 additions and 4 deletions

View File

@@ -8219,6 +8219,8 @@
<service android:name="com.android.server.companion.datatransfer.contextsync.CallMetadataSyncInCallService"
android:permission="android.permission.BIND_INCALL_SERVICE"
android:exported="true">
<meta-data android:name="android.telecom.INCLUDE_SELF_MANAGED_CALLS"
android:value="true" />
<intent-filter>
<action android:name="android.telecom.InCallService"/>
</intent-filter>

View File

@@ -744,10 +744,6 @@ public class TelecomManager {
* state of calls in the self-managed {@link ConnectionService}. An example use-case is
* exposing these calls to an automotive device via its companion app.
* <p>
* This meta-data can only be set for an {@link InCallService} which also sets
* {@link #METADATA_IN_CALL_SERVICE_UI}. Only the default phone/dialer app, or a car-mode
* {@link InCallService} can see self-managed calls.
* <p>
* See also {@link Connection#PROPERTY_SELF_MANAGED}.
*/
public static final String METADATA_INCLUDE_SELF_MANAGED_CALLS =