The suggestion view could just be operated once to eliminate flicker. When the suggestion is completed, there was no way to dismiss it unless users kill Settings. This patch allows updating the view's visibility after the activity is stopped. When the activity restarts, the view can be updated. Fix: 294153594 Test: robotest Change-Id: Idc3aada3bff001d603bf2f7737f70f2880f6cc35
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.