Activity null check is probably necessary when this logic is written in fragment, now the logic is in a controller where all dependencies are self contained, so we don't need to check activity null here. Change-Id: Ifa32e0d6563c411f19bec07f176765a7c94c8a40 Fixes: 112289663 Test: robotests
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.