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

Commit 3f4ecd4a authored by Christine Franks's avatar Christine Franks
Browse files

Allow context sync to make emergency calls

Also, switch from the deprecated permission to the updated permission
for the ConnectionService.

Bug: 281832191
Test: n/a
Change-Id: I64e8bf2adba7218f940cbe0f0fb0fe48d4163efe
parent d5076267
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -863,6 +863,7 @@
        android:label="@string/permlab_readContacts"
        android:description="@string/permdesc_readContacts"
        android:protectionLevel="dangerous" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />

    <!-- Allows an application to write the user's contacts data.
         <p>Protection level: dangerous
@@ -6039,6 +6040,7 @@
         <p>Not for use by third-party applications. -->
    <permission android:name="android.permission.CALL_PRIVILEGED"
        android:protectionLevel="signature|privileged" />
    <uses-permission android:name="android.permission.CALL_PRIVILEGED" />

    <!-- @SystemApi Allows an application to perform CDMA OTA provisioning @hide -->
    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
@@ -8230,7 +8232,7 @@
        </service>

        <service android:name="com.android.server.companion.datatransfer.contextsync.CallMetadataSyncConnectionService"
                 android:permission="android.permission.BIND_CONNECTION_SERVICE"
                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
                 android:exported="true">
            <intent-filter>
                <action android:name="android.telecom.ConnectionService"/>