Adding QUERY_CLONED_APPS to cts tests.
Bug: 265859333
Test: atest PermissionPolicyTest
Change-Id: I873264c5ee8691019f94544bf04a05ab3bdc10df
diff --git a/tests/tests/permission2/res/raw/android_manifest.xml b/tests/tests/permission2/res/raw/android_manifest.xml
index a6a15aa..974db66 100644
--- a/tests/tests/permission2/res/raw/android_manifest.xml
+++ b/tests/tests/permission2/res/raw/android_manifest.xml
@@ -6900,6 +6900,15 @@
android:protectionLevel="signature|knownSigner"
android:knownCerts="@array/config_healthConnectMigrationKnownSigners" />
+ <!-- @SystemApi Allows an app to query apps in clone profile. The permission is
+ bidirectional in nature, i.e. cloned apps would be able to query apps in root user.
+ The permission is not meant for 3P apps as of now.
+ <p>Protection level: signature|privileged
+ @hide
+ -->
+ <permission android:name="android.permission.QUERY_CLONED_APPS"
+ android:protectionLevel="signature|privileged" />
+
<!-- @hide @SystemApi
Allows applications to capture bugreport directly without consent dialog when using the
bugreporting API on userdebug/eng build.