By CrossSimCallingViewModel, in SIMs and per SIM settings page. To ensure the status is always right, including the case after the onboarding set up finished. Fix: 347882381 Fix: 348529996 Flag: EXEMPT bug fix Test: manual - turn on / off "Automatic data switching" on SIMs Test: manual - turn off "Automatic data switching" during onboarding Change-Id: Icc2eacb67850fa7b3aa0fe310cd09a0e0147912b
Running Settings Robolectric tests
The full suite
$ croot
$ atest SettingsRoboTests
Running a single test class
With a filter
$ croot
$ atest SettingsRoboTests:com.android.settings.display.AdaptiveSleepPreferenceControllerTest
You can also run any single test class with atest (it will try to find the correct path)
$ atest AdaptiveSleepPreferenceControllerTest