Make UsageStats API default on only for the system
This changes the PACKAGE_USAGE_STATS permission to be a signature only permission, meaning that only apps signed with the system signature have access to the UsageStats API enabled by default. Bug:17428130 Change-Id: I79ba54d7102c770ea2490f014a1f6736f0f46b3a
This commit is contained in:
@@ -2502,7 +2502,7 @@
|
||||
<permission android:name="android.permission.PACKAGE_USAGE_STATS"
|
||||
android:label="@string/permlab_pkgUsageStats"
|
||||
android:description="@string/permdesc_pkgUsageStats"
|
||||
android:protectionLevel="signature|system|development|appop" />
|
||||
android:protectionLevel="signature|development|appop" />
|
||||
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
|
||||
|
||||
<!-- @SystemApi Allows an application to collect battery statistics -->
|
||||
|
||||
Reference in New Issue
Block a user