diff options
author | Etan Cohen <etancohen@google.com> | 2020-12-09 21:22:16 -0800 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2021-01-02 22:34:50 -0800 |
commit | ddb4902597df7beb978a20a2299b784e2d9c5c6f (patch) | |
tree | 7f46516a024f39c56ba30dd9ccf46f6371797f0e /packages/Shell | |
parent | e4f60f7dffe48520a465cd16f0ab970b1e0a9ad9 (diff) |
Grant shell permissions for Airplane Mode to Shell to support CTS
New permission is needed to allow CTS to trigger the new WiFi subsystem
restart API.
Bug: 175084231
Test: atest android.net.wifi.cts.WifiManagerTest#testRestartWifiSubsystem
Change-Id: Id844fb799c61f65580e686d1da7ec38a62dd01d0
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 0fdb282edc23..ea20be7fd9eb 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -291,6 +291,9 @@ <uses-permission android:name="android.permission.UPGRADE_RUNTIME_PERMISSIONS" /> <!-- Permission needed to read wifi network credentials for CtsNetTestCases --> + <uses-permission android:name="android.permission.NETWORK_AIRPLANE_MODE" /> + + <!-- Permission needed to read wifi network credentials for CtsNetTestCases --> <uses-permission android:name="android.permission.READ_WIFI_CREDENTIAL" /> <!-- Permission needed to use wifi usability API's for CtsNetTestCases --> |