- Don't show the button if nothing is clearable - Optimistically remove preferences on pressing clear since the actualy clear action is asynchronous Test: RoboTests Fixes: 178765511 Change-Id: Ic305d4d199b149078ea52a614cb93cebe55cd245
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.