Match Permission definition changes
Ensure the MANAGE_SENSOR_PRIVACY and WRITE_SECURE_SETTINGS definitions
in the test class are updated to match those in the platform
Test: atest PermissionPolicyTest
Bug: 194816787
Change-Id: I871ccf365698e366449fc19bbbd56c05cd6bbf9c
diff --git a/tests/tests/permission2/res/raw/android_manifest.xml b/tests/tests/permission2/res/raw/android_manifest.xml
index c22bc90..c421654 100644
--- a/tests/tests/permission2/res/raw/android_manifest.xml
+++ b/tests/tests/permission2/res/raw/android_manifest.xml
@@ -3432,7 +3432,7 @@
<!-- Allows an application to read or write the secure system settings.
<p>Not for use by third-party applications. -->
<permission android:name="android.permission.WRITE_SECURE_SETTINGS"
- android:protectionLevel="signature|privileged|development|role" />
+ android:protectionLevel="signature|privileged|development|role|installer" />
<!-- Allows an application to retrieve state dump information from system services.
<p>Not for use by third-party applications. -->
@@ -5714,7 +5714,7 @@
<!-- @SystemApi Allows sensor privacy to be modified.
@hide -->
<permission android:name="android.permission.MANAGE_SENSOR_PRIVACY"
- android:protectionLevel="internal|role" />
+ android:protectionLevel="internal|role|installer" />
<!-- @SystemApi Allows sensor privacy changes to be observed.
@hide -->