The keywords used for settings search are good when we are highly confident the user is searching for as setting (settings search), but not effective in a more general search setting (launcher, an assistant). Thus, we should not index these keywords as Slice keywords, and rely on the setting title and screen title as baseline keywords. Change-Id: I99e44834454b5949c4883f877e02be47498e06e2 Fixes: 78911847 Test: robotests
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.