For the new multi subscriptions UX, in several places we need to listen for both subscription changes (eg a sim card was inserted or removed), as well as airplane mode changing state. This combines those in one helper class that can be reused. Bug: 116349402 Test: make RunSettingsRoboTests Change-Id: Ibcbb669ae291a917f89735dbda043742efaa58c9
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.