SettingsSliceProvider no longer allows apps to request permission from the user for Settings Slices. Instead, the PrimaryAction on the permission slice will be an intent into Settings. This is because the dialog for granting apps Settings Slices would act as a replacement for regular permission dialogs, which we want to avoid. Fixes: 130795282 Test: robolectrico Change-Id: I6848215bab2bf10ee5e53814b765d04f04f53f4e
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.