Merge "Make MODIFY_DAY_NIGHT_MODE and OBSERVE_APP_USAGE permissions grantable via role." into udc-qpr-dev
This commit is contained in:
@@ -6094,7 +6094,7 @@
|
||||
<!-- @hide @SystemApi Allows an application to observe usage time of apps. The app can register
|
||||
for callbacks when apps reach a certain usage time limit, etc. -->
|
||||
<permission android:name="android.permission.OBSERVE_APP_USAGE"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
android:protectionLevel="signature|privileged|role" />
|
||||
|
||||
<!-- @hide @TestApi @SystemApi Allows an application to change the app idle state of an app.
|
||||
<p>Not for use by third-party applications. -->
|
||||
@@ -6724,7 +6724,7 @@
|
||||
it will be ignored.
|
||||
@hide -->
|
||||
<permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
android:protectionLevel="signature|privileged|role" />
|
||||
|
||||
<!-- @SystemApi Allows entering or exiting car mode using a specified priority.
|
||||
This permission is required to use UiModeManager while specifying a priority for the calling
|
||||
|
||||
Reference in New Issue
Block a user