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

Commit f374a4bc authored by Adam Lesinski's avatar Adam Lesinski
Browse files

Allow system apps to be granted android.permission.PACKAGE_USAGE_STATS

Bug:22008542
Change-Id: Ifb4565ec8077e88596f0304328c083c7d1c9db04
parent a0f5c76f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2090,7 +2090,7 @@
         <p>Declaring the permission implies intention to use the API and the user of the
         device can grant permission through the Settings application. -->
    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
        android:protectionLevel="signature|development|appop" />
        android:protectionLevel="signature|system|development|appop" />
    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />

    <!-- @hide Allows an application to change the app idle state of an app.