The controller for the "Preferred network type" preference on the SIM details page wasn't listening for changes to the underlying global setting, so changes to the setting would be reflected in SysUI but not on this page if it happened to be showing. Bug: 135667565 Test: make RunSettingsRoboTests Change-Id: I5dfe4843a681c613f49caf4584e9dbebc54e708a
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.