Shell: Grant NETWORK_STACK permission for CTS
Grant NETWORK_STACK permission to the shell so that CTS can use the shell identity to call APIs protected with this permission. Bug: 150236894 Test: atest android.net.wifi.cts.WifiManagerTest#testGetCountryCode Change-Id: I4f93e76bcda83c528f1f2c7bcf800965886ea8da Merged-In: I4f93e76bcda83c528f1f2c7bcf800965886ea8da (clean cherry pick from AOSP) Change-Id: I1502b2d53d3d43cce36ba6563533cd3560ff8747
This commit is contained in:
@@ -204,6 +204,7 @@
|
||||
|
||||
<!-- Permission needed to run network tests in CTS -->
|
||||
<uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" />
|
||||
<uses-permission android:name="android.permission.NETWORK_STACK" />
|
||||
<!-- Permission needed to test tcp keepalive offload. -->
|
||||
<uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user