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

Commit 7744af9e authored by Hunter Knepshield's avatar Hunter Knepshield
Browse files

Give shell BIND_TELECOM_CONNECTION_SERVICE for CTS

To exercise some telecom-related CTS tests, we need to be able to call
APIs guarded by BIND_TELECOM_CONNECTION_SERVICE.

Bug: 205737545
Test: atest android.telephony.cts.TelephonyManagerTest
Change-Id: Ie466a12038e652e597a6df399cd17d28b470dc4f
parent b2c2e8fd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -529,6 +529,8 @@ applications that come with the platform
        <permission name="android.permission.SEND_SAFETY_CENTER_UPDATE" />
        <permission name="android.permission.READ_SAFETY_CENTER_STATUS" />
        <permission name="android.permission.SEND_LOST_MODE_LOCATION_UPDATES" />
        <!-- Permission required for CTS test - CtsTelephonyTestCases -->
        <permission name="android.permission.BIND_TELECOM_CONNECTION_SERVICE" />
    </privapp-permissions>

    <privapp-permissions package="com.android.statementservice">
+3 −0
Original line number Diff line number Diff line
@@ -632,6 +632,9 @@
    <!-- Permission required for CTS test - CaptioningManagerTest -->
    <uses-permission android:name="android.permission.SET_SYSTEM_AUDIO_CAPTION" />

    <!-- Permission required for CTS test - CtsTelephonyTestCases -->
    <uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE" />

    <application android:label="@string/app_label"
                android:theme="@android:style/Theme.DeviceDefault.DayNight"
                android:defaultToDeviceProtectedStorage="true"