- add the default app shortcut preferences to the preference screen xml instead of creating them dynamically in the fragment. - add controller for each of the shortcut preference. - move the corresponding shortcut detail settings into the appinfo package. - add individual preference screen xml for the shortcut detail settings instead of using the shared screen template. Bug: 69384089 Test: make RunSettingsRoboTests Change-Id: I7bc0b3b727e87fb1a32a82291e64b8e290947671
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.