Power whitelisting and background restrictions are opposing rules, so to keep apps out of confusing states, unrestricting an app whenever it is put on the power whitelist. Test: atest RunSettingsRoboTests:HighPowerDetailTest Bug: 77924141 Change-Id: I4952ac6c893bc7e98aa1b6ad3a86906fc299dea5
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.