Some apps have pre-grant permissions, so when they get disabled and then enabled again, those pre-granted ones will come back automatically. This CL handles this kind of cases by listening to permission changes and update the summary accordingly. Fixes: 142053555 Test: robotests Change-Id: I75b010139657ec3b4ff875de77573a46387e42c8
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.