From 506686bc3df947b43aa4d1bae134c840b9cc78a2 Mon Sep 17 00:00:00 2001 From: Chalard Jean Date: Thu, 23 May 2019 18:30:38 +0900 Subject: Let the system server have CONNECTIVITY_USE_RESTRICTED_NETWORKS. Also : - Fix testUidFilteringDuringVpnConnectDisconnectAndUidUpdates that was failing on devices with a first released SDK >= Q - Add a test actually tests that the system has the permission, as the test was only testing what's in the mock Bug: 119770201 Test: New test making sure this stays true Change-Id: I74cf5f0fa17fcf818f1fed78c7e3e4375c20152e --- core/res/AndroidManifest.xml | 1 + .../server/connectivity/PermissionMonitorTest.java | 20 ++++++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index ccf5199d3d2b..990deaaf8184 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1579,6 +1579,7 @@ @hide --> +