Revert "Revert "Define OBSERVE_NETWORK_POLICY, NETWORK_FACTORY permission""
This reverts commit 3070a0fda3198ced1ebbcaace87a2c7c1ce5b9e2.
Change-Id: I775ecb61f220357fb1e98dab7bed3b23bf3b62b5
Merged-In: Ia601efdca5051c423f746d77f8d1770cabd90c36
diff --git a/tests/tests/permission2/res/raw/android_manifest.xml b/tests/tests/permission2/res/raw/android_manifest.xml
index 52e6dc4..cb4319b 100644
--- a/tests/tests/permission2/res/raw/android_manifest.xml
+++ b/tests/tests/permission2/res/raw/android_manifest.xml
@@ -1551,6 +1551,14 @@
<permission android:name="android.permission.NETWORK_STACK"
android:protectionLevel="signature" />
+ <!-- @SystemApi @hide Allows an application to observe network policy changes. -->
+ <permission android:name="android.permission.OBSERVE_NETWORK_POLICY"
+ android:protectionLevel="signature" />
+
+ <!-- @SystemApi @hide Allows applications to register network factory or agent -->
+ <permission android:name="android.permission.NETWORK_FACTORY"
+ android:protectionLevel="signature" />
+
<!-- Allows Settings and SystemUI to call methods in Networking services
<p>Not for use by third-party or privileged applications.
@hide This should only be used by Settings and SystemUI.