Decide how many card we should show at once on the homepage based on the value in Settings Global for more flexibility. Fall back to the default value if there is nothing set up. Bug: 138754406 Test: robotests Change-Id: I8d31d98eafb636a5e72af76ffec7e3dae0be3cbc
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.