The new UX for showing multiple active mobile plan subscriptions (SIMs, eSIMs, etc.) needs a header at the top of the Network & internet page that shows wifi status and a list of active mobile subscriptions in the form of one Preference per subscription. This CL adds display of the mobile subscriptions to this header. It does not yet show the correct summary text or do anything when you tap on them - that will be coming in subsequent CLs. Also, since adding a variable number of items to the top of the page messes up our current strategy of having a fixed number of hidden items at the bottom based on overall item count, this CL just makes all items visible. Subsequent CLs can restore this behavior with dynamic adjustment. Bug: 116349402 Test: make RunSettingsRoboTests Change-Id: Ibfadf8cb61f6f5aff6ce38b7974267b1e4ddc719
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.