when the MobileNetwork page is slid to to top. - Update the onBindViewHolder method of SettingsMainSwitchPreference. The root cause is that the onBindViewHolder method reset the visibility state of the SwitchBar. Fix: 190652161 Test: robotest and test MobileNetwork page manually. Change-Id: If0a75579fd4bf0fe987ce5d11d2f11d10f4bc43c
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.