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

Commit 82f37f83 authored by Roshan Pius's avatar Roshan Pius
Browse files

privapps-permission: Make REQUEST_NETWORK_SCORES a privilged permission

The wifi stack (signed by Google on non-Pixel devices) need to obtain this permission,
so it can no longer be signature only.

Bug: 113174748
Test: Compiles
Change-Id: Id9557a6d164a40698ee7d1e5926e56fd616868d0
parent 3888c2d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1532,7 +1532,7 @@
         recommendations and scores from the NetworkScoreService.
         <p>Not for use by third-party applications. @hide -->
    <permission android:name="android.permission.REQUEST_NETWORK_SCORES"
        android:protectionLevel="signature|setup" />
        android:protectionLevel="signature|setup|privileged" />

    <!-- Allows network stack services (Connectivity and Wifi) to coordinate
         <p>Not for use by third-party or privileged applications.
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@
        <permission name="android.permission.PACKAGE_USAGE_STATS"/>
        <permission name="android.permission.READ_SEARCH_INDEXABLES"/>
        <permission name="android.permission.REBOOT"/>
        <permission name="android.permission.REQUEST_NETWORK_SCORES"/>
        <permission name="android.permission.SET_TIME"/>
        <permission name="android.permission.STATUS_BAR"/>
        <permission name="android.permission.TETHER_PRIVILEGED"/>