This change will update some strings for smart-auto-rotate and replace the activity based switchbar with SettingsMainSwitchPreference. The switchbar had to be replaced to allow the new text to appear above the main toggle. Test: locally with flame and with resolver service enabled & disabled Bug: 220182618 Change-Id: I4b60bf006bdde9e47b33a52c7719ec770caf5746 Merged-In: I4b60bf006bdde9e47b33a52c7719ec770caf5746
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.