Move the screen lock message selection logic to Utils and update the related strings as suzannechen@ suggested. Test: manual (see bug) Test: atest UtilsTest Fixes: 291307701 Change-Id: I346c25426395eea1320edc07ce2d962efeb8daa6
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.