Statsd populates the anomaly info in StringArrayList, not StringArray. So in settings we should use the correct API to get the data. Bug: 77141809 Test: RunSettingsRoboTests Change-Id: I56fc096106b5c040422fd7f5bb8cb4be7fe71d9d
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.