- In handleDisableable(), call getKeepEnabledPackages() in the same way as AppActionButtonPreferenceController. - Update getKeepEnabledPackages() to dynamically query default phone/sms app packages. Change-Id: I8dc7d6248cf440dcc053f6acba9d5548d5670c41 Bug: 80328396 Bug: 80312809 Test: robotests
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.