Use VIBRATE_ON main toggle to display on/off state as summary for "Vibration & haptics" settings provider. Fix: 220218654 Test: VibrationPreferenceControllerTest Change-Id: Ifd4b9c7b1cb68ad0ea535091804a1e7f54297c44
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.