Replace getActiveSubscriptionInfoList() with getActiveSubscriptionInfoList(true) so that settings will not show hidden subscriptions to the user in various pages. Bug: 121396526 Test: manual Change-Id: I717999fed7d3a5a037914239694bef52df7c6207
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.