- On the Data usage settings page, we check for valid subscription id to determine if we should show the mobile section. However, we are querying the default subscription id, which will return the 1st id for any subscription if there's no data subscription. Since this is for mobile section, we should query the default data subscription id explicitly. Change-Id: I08c80639d07477e486a2d9a10761e11df4c73b28 Fixes: 119881046 Test: make RunSettingsRoboTests
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.