Add QUERY_ALL_PACKAGES to net integration tests
The permission is necessary for ConnectivityService to obtain its resource package. As the integration tests run ConnectivityService in-process, they need the permission. Bug: 186091860 Test: atest FrameworksNetIntegrationTests Change-Id: I60cf9b54faddf0ea4cb02146c83c9bba58370749
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
<!-- Reading DeviceConfig flags -->
|
||||
<uses-permission android:name="android.permission.READ_DEVICE_CONFIG"/>
|
||||
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
|
||||
<!-- Querying the resources package -->
|
||||
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>
|
||||
<application android:debuggable="true">
|
||||
<uses-library android:name="android.test.runner"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user