Add a configuration boolean to control whether or not to display Media Vibration switch (default: display the switch). This configuration can then be overriden by OEMs for devices that don't support media vibration. Bug: 268657239 Test: make RunSettingsRoboTests ROBOTEST_FILTER= "com.android.settings.accessibility.MediaVibration" Change-Id: I91857fbb04abc97b290559895010c3cbeef7ebab
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.