summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jay Thomas Sullivan <jaysullivan@google.com> 2024-01-19 15:04:56 -0800
committer Jay Thomas Sullivan <jaysullivan@google.com> 2024-01-19 15:04:56 -0800
commita477982e6d128215f3be1fb6d0ee340f6d65a85e (patch)
tree49df1a8ea48e83fd66c0e4d88795ac1f8d5de495
parentd7af3561b14a919f3abf1972fc644f893a653c31 (diff)
[ECM] Add MANAGE_ENHANCED_CONFIRMATION_STATES to permissionpolicy
This change adds the new MANAGE_ENHANCED_CONFIRMATION_STATES permission to the permission policy. The MANAGE_ENHANCED_CONFIRMATION_STATES permission allows an application to access EnhancedConfirmationManager. Bug: 310220073 Test: presubmit Change-Id: Idb00881a126a0401e9b50b7f30cc63d8be137416
-rw-r--r--tests/cts/permissionpolicy/res/raw/android_manifest.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/cts/permissionpolicy/res/raw/android_manifest.xml b/tests/cts/permissionpolicy/res/raw/android_manifest.xml
index a8c2e90cc..effbbc260 100644
--- a/tests/cts/permissionpolicy/res/raw/android_manifest.xml
+++ b/tests/cts/permissionpolicy/res/raw/android_manifest.xml
@@ -3643,6 +3643,13 @@
<permission android:name="android.permission.MANAGE_DEVICE_POLICY_ACROSS_USERS_FULL"
android:protectionLevel="internal|role" />
+ <!-- Allows an application to access EnhancedConfirmationManager.
+ @SystemApi
+ @FlaggedApi("android.permission.flags.enhanced_confirmation_mode_apis_enabled")
+ @hide This is not a third-party API (intended for OEMs and system apps). -->
+ <permission android:name="android.permission.MANAGE_ENHANCED_CONFIRMATION_STATES"
+ android:protectionLevel="signature|installer" />
+
<!-- @SystemApi @hide Allows an application to set a device owner on retail demo devices.-->
<permission android:name="android.permission.PROVISION_DEMO_DEVICE"
android:protectionLevel="signature|setup|knownSigner"