Currently the global opt-in is only available to Game Driver. This change has added an option to let developers to opt-in all apps to use prerelease driver. GameDriverEnableForAllAppsPreferenceController is then refactored from SwitchPreference to ListPreference to support this change. Bug: 134881329 Test: make RunSettingsRoboTests ROBOTEST_FILTER=GameDriver Change-Id: I6dcb3a22a4033a576605d42aa80b09db088d4aa2
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.