The feature is enabled via TelephonyManager.MOBILE_DATA_POLICY_AUTO_DATA_SWITCH. The feature only applies to non-DDS. If enabled, we automatically switch to the non-DDS for data traffic when it has better availability than the DDS. The UI change are(as required by b/247880971): 1. data during call is replaced by auto data switch, and moved under mobile data toggle. 2. Network & internet and Internet page now show the currently active subscription, instead of the defalut subscription. If the currently active sub is not the default, it's reflected in summary as "temporarily". Test: manual Bug: 244064524 Change-Id: Ica1eba99cee0d4af528d58f1c7bd1439400bfa66
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.