summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Chen <jimictw@google.com>2024-03-04 07:00:54 +0000
committerJimi Chen <jimictw@google.com>2024-03-04 07:28:14 +0000
commit14bb7f5f1bdf0ecc580b353d602a40cc2137a985 (patch)
tree9dc8ce4a67890358bab5f999b7a60e312358bdfc
parentf1403c8dcdf76aa1b2e228a74e4b6054a4159714 (diff)
downloadNetworkStack-14bb7f5f1bdf0ecc580b353d602a40cc2137a985.tar.gz
Add needed permission required by NetworkStatsIntegrationTest in NetworkStack
Comment out the needed permission instead of deleting them. In case we might need them in the future. Bug: 322113686 Test: atest com.android.server.networkstack.integrationtests Change-Id: I86295b4686c20dadb2fd53941446809de08da6cc
-rw-r--r--tests/integration/AndroidManifest.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/integration/AndroidManifest.xml b/tests/integration/AndroidManifest.xml
index efa54882..ca5382ec 100644
--- a/tests/integration/AndroidManifest.xml
+++ b/tests/integration/AndroidManifest.xml
@@ -23,6 +23,13 @@
05-14 00:41:02.723 18330 18330 E AndroidRuntime: java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.server.networkstack.integrationtests: android.permission.CONNECTIVITY_INTERNAL}
-->
+ <!-- Used by creating test network.
+ comment out the permission needed by NetworkStatsIntegrationTest.
+ The test case migrated to Connectivity
+ -->
+ <!-- uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" /-->
+ <!-- uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /-->
+ <!-- uses-permission android:name="android.permission.WRITE_SETTINGS" /-->
<application android:debuggable="true">
<uses-library android:name="android.test.runner" />
</application>