Settings Injection used to start activities with startActivityForResult() and its extension, where there was not result really being handled. Hence, this CL corrects the way it starts activities by removing the "ForResult" part. Fixes: 197704126 Test: robotest and launch Android Auto to see it being launched in another task. Change-Id: I259b2555cf62f8966afdf664b337af5f216b3843
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.