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

Commit 954252fd authored by Chen Xu's avatar Chen Xu
Browse files

add telephony role to some permissions needed by telephony module

Bug: 141479803
Test: Build & Manual
Change-Id: I46f38cccef70dc73254f3309e5d0242bba9b51d4
parent 503be6e6
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -2274,7 +2274,7 @@
         types of interactions
         @hide -->
    <permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
        android:protectionLevel="signature|installer" />
        android:protectionLevel="signature|installer|telephony" />

    <!-- @SystemApi Allows an application to start its own activities, but on a different profile
         associated with the user. For example, an application running on the main profile of a user
@@ -2904,8 +2904,9 @@

    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
    @hide -->
    // TODO: remove telephony once decouple settings activity from phone process
    <permission android:name="android.permission.STATUS_BAR_SERVICE"
        android:protectionLevel="signature" />
        android:protectionLevel="signature|telephony" />

    <!-- Allows an application to bind to third party quick settings tiles.
         <p>Should only be requested by the System, should be required by
@@ -3032,7 +3033,7 @@
         @hide
    -->
    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
        android:protectionLevel="signature" />
        android:protectionLevel="signature|telephony" />

    <!-- @SystemApi Allows an application to call the activity manager shutdown() API
         to put the higher-level system there into a shutdown state.
@@ -3529,7 +3530,7 @@
    <!-- @SystemApi Allows an application to manage the holders of a role.
         @hide -->
    <permission android:name="android.permission.MANAGE_ROLE_HOLDERS"
                android:protectionLevel="signature|installer" />
                android:protectionLevel="signature|installer|telephony" />

    <!-- @SystemApi Allows an application to observe role holder changes.
         @hide -->
@@ -4562,7 +4563,7 @@
    <!-- @hide Permission that allows configuring appops.
     <p>Not for use by third-party applications. -->
    <permission android:name="android.permission.MANAGE_APPOPS"
                android:protectionLevel="signature" />
                android:protectionLevel="signature|telephony" />

    <!-- @hide Permission that allows background clipboard access.
         <p>Not for use by third-party applications. -->