* mUserShortcutTypesCache -> get value from savedInstanceState only * mUserShortcutTypes -> use local variables to replace its mission Bug: 158540780 Test: atest ToggleFeaturePreferenceFragmentTest Change-Id: I1473f89ed743261f616e8d19733bae829c9dbb02
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.