This adds a new boolean flag, config_show_assist_and_voice_input, which when set to false will hide the assist_and_voice_input preference item. Bug: 62379282 Test: make RunSettingsRoboTests ROBOTEST_FILTER=DefaultAssistPreferenceControllerTest Change-Id: I3bfc84f0fba07cd52679269daadbdcfccd205ff1
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.