summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Grace Cheng <graciecheng@google.com> 2024-10-29 19:39:15 +0000
committer Grace Cheng <graciecheng@google.com> 2024-11-18 05:12:59 +0000
commit9a98da8c8450f3e0036a0620bce3e2ee8c7efdd6 (patch)
treee34d65c68aa60fb8804f4f79a0cd1eabf29d215f
parent99d722fdccda66d303baf977e81b7575919d005d (diff)
Add SecureLockDevice permission to manifest
Adds MANAGE_SECURE_LOCK_DEVICE permission to manifest Bug: 373422357 Flag: android.security.secure_lockdown Test: N/A Relnote: N/A Change-Id: I3b80d1ccad62f9eea07a09ddb49fc98bb9765802
-rw-r--r--tests/cts/permissionpolicy/res/raw/android_manifest.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/cts/permissionpolicy/res/raw/android_manifest.xml b/tests/cts/permissionpolicy/res/raw/android_manifest.xml
index 34190e459..21d163588 100644
--- a/tests/cts/permissionpolicy/res/raw/android_manifest.xml
+++ b/tests/cts/permissionpolicy/res/raw/android_manifest.xml
@@ -5685,6 +5685,17 @@
<permission android:name="android.permission.LOCK_DEVICE"
android:protectionLevel="signature|privileged" />
+ <!-- @SystemApi
+ @FlaggedApi(android.security.Flags.FLAG_SECURE_LOCKDOWN)
+ Allows an application to lock down the device into an enhanced security state.
+ <p>Not for use by third-party applications.
+ <p>Protection level: signature|privileged
+ @hide
+ -->
+ <permission android:name="android.permission.MANAGE_SECURE_LOCK_DEVICE"
+ android:protectionLevel="signature|privileged"
+ android:featureFlag="android.security.secure_lockdown" />
+
<!-- @SystemApi Allows low-level access to setting the orientation (actually
rotation) of the screen.
<p>Not for use by third-party applications.