We saw chart view is gone while rotating device. Fow now, we save the old permission data before fragment was recreated. Then, we can initialize the view quickly with old data. Test: robotest, visual Fixes: 123539793 Change-Id: I230fecc6001a17a0c0205f2a1dcb5dd79f32e744
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.