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

Commit 2953dafe authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Revert "add telephony role to some permissions needed by telephony module"

This reverts commit 954252fd.

Reason for revert: b/148482594

Bug: 148482594
Change-Id: Ia6e0436231545e6792c8dea9e267e1e05208dc3f
parent 2c881167
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -2435,7 +2435,7 @@
         types of interactions
         @hide -->
    <permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
        android:protectionLevel="signature|installer|telephony" />
        android:protectionLevel="signature|installer" />
    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />

    <!-- Allows interaction across profiles in the same profile group. -->
@@ -3095,9 +3095,8 @@

    <!-- 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|telephony" />
        android:protectionLevel="signature" />

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

    <!-- @SystemApi Allows an application to call the activity manager shutdown() API
         to put the higher-level system there into a shutdown state.
@@ -3769,7 +3768,7 @@
         @hide
         STOPSHIP b/145526313: Remove wellbeing protection flag from MANAGE_ROLE_HOLDERS. -->
    <permission android:name="android.permission.MANAGE_ROLE_HOLDERS"
                android:protectionLevel="signature|installer|telephony|wellbeing" />
                android:protectionLevel="signature|installer|wellbeing" />

    <!-- @SystemApi Allows an application to observe role holder changes.
         @hide -->
@@ -4879,7 +4878,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|telephony" />
                android:protectionLevel="signature" />

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