As we don't allow pSIM modem disablment, we should simply use isActiveSubId to decide whether a subscription's preferences is changable. This will avoid potential modem bugs that reports wrong modem status that result in Setting's UX error. Bug: 135222940 Test: manual and robo Change-Id: I7cccf2fdab7c89d26dac4daad51cd5d6f3a90eba
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.