If multiple permissions have been used by the same number of apps, we apply a stable tiebreak so we can be consistent in different places. We prefer location, then microphone, then camera, and everything else is alphabetical. Test: View chart with ties. Test: atest PermissionBarChartPreferenceControllerTest Change-Id: I035ac19391788cc720e1c832bf8bd5a60d31e8ad
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.