Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02e76f7a authored by Nate Myren's avatar Nate Myren
Browse files

Add Ecm Incall permission, add new InCallService to system server

Bug: 364535720
Test: atest EnhancedConfirmationInCallTest
Flag: android.permission.flags.enhanced_confirmation_in_call_apis_enabled
Change-Id: I7befe17f26dbd117926eaa3a07e6992e250ae36b
parent 0df244d3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ flag {
    is_fixed_read_only: true
    namespace: "permissions"
    description: "enable enhanced confirmation incall apis"
    bug: "310220212"
    bug: "364535720"
}

flag {
@@ -67,7 +67,7 @@ flag {
    is_fixed_read_only: true
    namespace: "permissions"
    description: "enable the blocking of certain app installs during an unknown call"
    bug: "310220212"
    bug: "364535720"
}

flag {
+11 −0
Original line number Diff line number Diff line
@@ -9236,6 +9236,17 @@
            </intent-filter>
        </service>

        <service android:name="com.android.ecm.EnhancedConfirmationCallTrackerService"
            android:permission="android.permission.BIND_INCALL_SERVICE"
            android:featureFlag="android.permission.flags.enhanced_confirmation_in_call_apis_enabled"
            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>
        </service>

        <service android:name="com.android.server.companion.datatransfer.contextsync.CallMetadataSyncConnectionService"
                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
                 android:exported="true">