Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8d9e9c0 authored by Etan Cohen's avatar Etan Cohen
Browse files

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
parent cacc7f10
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -344,6 +344,7 @@ applications that come with the platform
        <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
        <permission name="android.permission.MOVE_PACKAGE"/>
        <!-- Needed for test only -->
        <permission name="android.permission.RESTART_WIFI_SUBSYSTEM"/>
        <permission name="android.permission.NETWORK_AIRPLANE_MODE"/>
        <permission name="android.permission.OBSERVE_APP_USAGE"/>
        <permission name="android.permission.NETWORK_SCAN"/>
+3 −0
Original line number Diff line number Diff line
@@ -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" />