summaryrefslogtreecommitdiff
path: root/core/res
diff options
context:
space:
mode:
authorKevin Han <kevhan@google.com>2021-03-17 15:37:40 -0700
committerKevin Han <kevhan@google.com>2021-03-19 10:37:05 -0700
commit152e389bae3010c27296798f8e9237127a38ae2b (patch)
treec461358f8a55fa8696b252cefdda597e9a63359f /core/res
parent79490a9c003280e59c532d2e3bc96969759c8613 (diff)
Add MANAGE_APP_HIBERNATION permission
Add permission for app hibernation state manipulation. Bug: 183058954 Test: run hibernation job and confirm the API works for PermissionController (cherrypick of ag/13909632) Merged-In: Id57ee57f49710d0b8a49a4ec561800db43089f87 Change-Id: Id57ee57f49710d0b8a49a4ec561800db43089f87
Diffstat (limited to 'core/res')
-rw-r--r--core/res/AndroidManifest.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 2f352e955d29..61e7d0ad9a73 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -5172,6 +5172,10 @@
<permission android:name="android.permission.INPUT_CONSUMER"
android:protectionLevel="signature" />
+ <!-- @hide @SystemApi Allows an application to manage app hibernation state. -->
+ <permission android:name="android.permission.MANAGE_APP_HIBERNATION"
+ android:protectionLevel="signature|installer" />
+
<!-- Attribution for Country Detector. -->
<attribution android:tag="CountryDetector" android:label="@string/country_detector"/>
<!-- Attribution for Location service. -->