According to patch of A-231987122, AOSP restricts app to modify relevant mobile settings when user is a guest. This change intends to prevent the slices related to mobile settings from being requested by guest user. Bug: 278616139 Bug: 277333776 Bug: 262244832 Bug: 278616520 Bug: 278615120 Test: robotests Change-Id: I4dc4bbfdb5cf76e188e6f62ebfd74ef6fa2fe33b
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.