diff options
author | Etan Cohen <etancohen@google.com> | 2021-01-21 16:45:46 -0800 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2021-01-21 19:54:05 -0800 |
commit | d8d9e9c0419da00c3c73020e2bd6b18f6ef3db6e (patch) | |
tree | 0ffe17912bcf0a172b0c323ce403a9f4ace290e0 /packages/Shell | |
parent | cacc7f1062391beab51faf52bf273b4b68849e64 (diff) |
Grant shell permissions for restart WiFi subsystem to Shell to support CTS
New permission is needed to allow CTS to trigger the new WiFi subsystem
restart API.
Bug: 175084231
Bug: 178125790
Test: atest android.net.wifi.cts.WifiManagerTest#testRestartWifiSubsystem
Change-Id: I0eb0362e6421480c10ba64f923a9069d1258d4ca
Diffstat (limited to 'packages/Shell')
-rw-r--r-- | packages/Shell/AndroidManifest.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index 4b6862c6d186..dcbad3082bdb 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -292,6 +292,9 @@ <!-- Permission needed to test mainline permission module rollback --> <uses-permission android:name="android.permission.UPGRADE_RUNTIME_PERMISSIONS" /> + <!-- Permission needed to restart WiFi Subsystem --> + <uses-permission android:name="android.permission.RESTART_WIFI_SUBSYSTEM" /> + <!-- Permission needed to read wifi network credentials for CtsNetTestCases --> <uses-permission android:name="android.permission.NETWORK_AIRPLANE_MODE" /> |