Add a settings page to control the permission MANAGE_MEDIA in Special App Access. Apps can launch it by ACTION_REQUEST_MANAGE_MEDIA. Test: m -j RunSettingsRoboTests ROBOTEST_FILTER=MediaManagementAppsDetailsTest Test: m -j RunSettingsRoboTests Test: manual Bug: 181112025 Change-Id: Id7587cf179b8c5adbfd6477ca9c2d4a20a9852bb
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.