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

Commit 4c0e2a49 authored by Jordan Liu's avatar Jordan Liu
Browse files

Add CBR and shell to telephony permission

Bug: 135956699
Test: send test broadcast, atest CellBroadcastIntentsTest
Change-Id: I5e7b28bb8f347f61b781b017e72194a7cf0d7037
parent 4d4e91db
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3523,8 +3523,9 @@
         protection level. Note, framework by default support multiple telephony apps, each package
         name is separated by comma.
         Example: "com.android.phone,com.android.stk,com.android.providers.telephony"
         (Note: shell is included for testing purposes)
     -->
    <string name="config_telephonyPackages" translatable="false">"com.android.phone,com.android.stk,com.android.providers.telephony,com.android.ons,com.android.cellbroadcastservice"</string>
    <string name="config_telephonyPackages" translatable="false">"com.android.phone,com.android.stk,com.android.providers.telephony,com.android.ons,com.android.cellbroadcastservice,com.android.cellbroadcastreceiver,com.android.shell"</string>

    <!-- The component name for the default system attention service.
         This service must be trusted, as it can be activated without explicit consent of the user.
+3 −0
Original line number Diff line number Diff line
@@ -221,6 +221,9 @@
      <!-- Permission required for CTS test - CarModeInCallServiceTest -->
    <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"/>

    <!-- Permission requried for CTS test - CellBroadcastIntentsTest -->
    <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS"/>

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