- return slice like in airplan mode when mobile data disabled in the getSlice of the MobileDataSlice - replace CONDITIONALLY_UNAVAILABLE by DISABLED_DEPENDENT_SETTING in the getAvailabilityStatus of the MobileDataPreferenceController - remove the duplicated mobile data item by update data_usage_cellular.xml Fixes: 130650621 Test: robotest Change-Id: I42c0983c27d4edb17fcdce7ca386023911254d2d
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.