When prevent ringing page is opened, the switch gets checked and is set to vibrate in default. Make it set to a correct state based on the value stored in Settings.Secure.VOLUME_HUSH_GESTURE. Fixes: 129728579 Test: robotests Change-Id: I1063db9fe79800eb2e400810e2414ee650076ea0
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.