Add new permission to CTS test.
Bug: 191994709
Bug: 191996331
Bug: 200324021
Test: atest CtsPermission2TestCases:PermissionPolicyTest
Change-Id: I27a4ec845c9bab7e23bba15ca17f200cf80a1ac9
diff --git a/tests/tests/permission2/res/raw/android_manifest.xml b/tests/tests/permission2/res/raw/android_manifest.xml
index fa4b020..73219af 100644
--- a/tests/tests/permission2/res/raw/android_manifest.xml
+++ b/tests/tests/permission2/res/raw/android_manifest.xml
@@ -5376,6 +5376,12 @@
<permission android:name="android.permission.VIEW_INSTANT_APPS"
android:protectionLevel="signature|preinstalled" />
+ <!-- Allows an application to interact with the currently active
+ {@link com.android.server.communal.CommunalManagerService}.
+ @hide -->
+ <permission android:name="android.permission.WRITE_COMMUNAL_STATE"
+ android:protectionLevel="signature" />
+
<!-- Allows the holder to manage whether the system can bind to services
provided by instant apps. This permission is intended to protect
test/development fucntionality and should be used only in such cases.