Add |role to UPDATE_APP_OPS_STATS

This allows the SYSTEM_SPEECH_RECOGNITION role to be granted the
permission, and to blame.

Test: manual
Bug: 194198234
Change-Id: Iebc09f46b580f0c10caa24c65868d3c1932f437f
This commit is contained in:
Nate Myren
2021-07-20 14:07:27 -07:00
parent db2dd6d551
commit e3150f3f3e

View File

@@ -3503,7 +3503,7 @@
use by third party apps.
@hide -->
<permission android:name="android.permission.UPDATE_APP_OPS_STATS"
android:protectionLevel="signature|privileged|installer" />
android:protectionLevel="signature|privileged|installer|role" />
<!-- @SystemApi Allows an application to update the user app op restrictions.
Not for use by third party apps.