Some translators need to be able to adapt the text for On/Off preference state to match the preference title "Vibration & haptics", which requires a different inflection and plural form on some languages. This change separates this resource string from the more generic one that was used before to allow this flexible translation. Fix: 228342641 Fix: 229060423 Test: VibrationPreferenceControllerTest Change-Id: Ib46b3e0d0a980ff57e91f55c73348c440327bad7
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.