Only visible when it is metered and mobile data off. Also refactor one mobile data observer so we can reuse it. Bug: 130222866 Test: RunSettingsRoboTests Change-Id: Id218f51da3c373fad98c1a39cfadd6b0e8c46a88
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.