Process privileges like open fds need to be revoked, when this permission is denied by the user. Test: Manually verified by checking logs. Robotest: atest SettingsRoboTests:ExternalSourcesDetailsTest Bug: 133504844 Change-Id: I81da0b3a5d6c54e392828829d1a2c43488439504
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.