- when screen lock is set, we will start the activity to check user's credential. Override onActivityResult() and call BuildNumberPreferenceController's method accordingly, so that we will checks the password confirm result and enable the developer options if it is success. Change-Id: Ie2df644c53430ad4eb394480348d956177804ec3 Fixes: 73102865 Test: make RunSettingsRoboTests
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.