1. Implement the search index provider for ConnectedDeviceDashboardFragment. 2. Since in SEARCH_INDEX_DATA_PROVIDER fragment is null, so we need to pass in context to all components instead of getting it from fragment. 3. Update test for it as well as creating new shadow. Change-Id: If0aa67d5b6ca207c6b728c8355581bf414577091 Fixes: 69333961 Test: RunSettingsRoboTests
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.