- in onActivityResult(), the intent data can be null. Check for non null intent data before trying to read the extra string from the intent. Change-Id: I14c42725a7885a84688ae39fde63e30ad0536001 Fixes: 109675331 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.