summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Wentao Wang <wwtbuaa@google.com> 2023-06-29 23:56:12 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-06-29 23:56:12 +0000
commit894a8d6e9d41525aea32bde4e01bc60a70a8bedb (patch)
tree14d1434823916aefbb1c98a328a2cb6f45d47b32
parentfca4198b4666399b3c9b5f321d895c8284b9289d (diff)
parent8f38c305c36bb247c5ba4f5a5dc921330669ba20 (diff)
Merge "Make MODIFY_DAY_NIGHT_MODE and OBSERVE_APP_USAGE permissions grantable via role." into udc-qpr-dev
-rw-r--r--core/res/AndroidManifest.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 2f9f6ae3f3c4..a01c7b6355c1 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -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