When initialized SimStatusDialogController, also create TelephonyManager with sub id. Bug: 174171839 Test: Manual test passed, see b/174171839#25 Test: make RunSettingsRoboTests ROBOTEST_FILTER=SimStatusDialogControllerTest passed Change-Id: I6bd6975e39c75884252b9d0bcd9d5548dbdfe6d5 Merged-In: I6bd6975e39c75884252b9d0bcd9d5548dbdfe6d5
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.