If one sim hide the preference and another one show the preference, the preference always hide. The root cause is config value is wrong. It should get config with subid. Bug: 149800931 Test: make RunSettingsRoboTests ROBOTEST_FILTER=SimLockPreferenceControllerTest Change-Id: I91b551bc363b8ecb0a4b6b40e9de79c74ccd76fd Merged-In: I91b551bc363b8ecb0a4b6b40e9de79c74ccd76fd
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.