summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Song Chun Fan <schfan@google.com> 2024-09-16 20:34:58 +0000
committer Song Chun Fan <schfan@google.com> 2024-10-02 16:53:34 +0000
commit32ec3b253dad00cde669b4b2320517add9775c66 (patch)
tree660f7dacccc27cd43b35552e3364a36d67151aac
parent4c47028fe0f8d6db76b68dbe71678adeaa7ccb44 (diff)
[PermissionPolicyTest] add VERIFICATION_AGENT permission
Change-Id: Icab0539e74a9ad4086b4d693fa0e16dfb50330da BUG: 360129103 FLAG: android.content.pm.verification_service Test: atest android.permissionpolicy.cts.PermissionPolicyTest#platformPermissionPolicyIsUnaltered Relnote: add VERIFICATION_AGENT permission LOW_COVERAGE_REASON=NON_CODE_ONLY
-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 af96c9a20..13423ffc5 100644
--- a/tests/cts/permissionpolicy/res/raw/android_manifest.xml
+++ b/tests/cts/permissionpolicy/res/raw/android_manifest.xml
@@ -8264,6 +8264,17 @@
<permission android:name="android.permission.RESERVED_FOR_TESTING_SIGNATURE"
android:protectionLevel="signature"/>
+ <!-- @SystemApi
+ @FlaggedApi("android.content.pm.verification_service")
+ Allows app to be the verification agent to verify packages.
+ <p>Protection level: signature|privileged
+ @hide
+ -->
+ <permission android:name="android.permission.VERIFICATION_AGENT"
+ android:protectionLevel="signature|privileged"
+ android:featureFlag="android.content.pm.verification_service"/>
+
+
<!-- Attribution for Geofencing service. -->
<attribution android:tag="GeofencingService" android:label="@string/geofencing_service"/>
<!-- Attribution for Country Detector. -->