In the settings app, allow users to override app permission for CHANGE_WIFI_STATE for every application that declared that permission. Bug: 70562620 Test: compile, robotests Manual test: Flash build to device (walleye) Download iPass from playstore Open iPass and try connect to a wifi network; verify success Open settings -> Apps & notifications -> Advanced -> Special app access -> Wifi access Select iPass from the list Toggle the switch to off Open iPass and try connect to a wifi network; verify failure Change-Id: Ib2be4c83988a81ba7831d096c9b1980462e66903
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.