The mapping of permissions and permission groups may be changed upon mainline module update, so we cannot reliably read from the platform. PermissionControllerManager is created for this purpose, so we use it to prevent from the outdated mapping instead of mapping them manually. Bug: 117978938 Test: robotests Change-Id: If8682796b8a30dee3b73572e977fade48d07eb2b
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.