Despite our hope, devices prior to P18 just don't have the dynamic range to give three distinct vibration intensity settings. Given this, only show an on / off toggle for devices by default unless they explicitly opt-in to multiple intensity levels. Test: m -j RunSettingsRoboTests Bug: 80243632 Change-Id: I14ece855cf20f9fa44b0648d28f89c0053be5c5f
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.