This adds five new boolean flags: config_show_high_power_apps config_show_device_administrators config_show_premium_sms config_show_data_saver config_show_enabled_vr_listeners Which when individually set to false, will hide the respectively item from "Special Access" in Apps & notifications. It will also hide them from surfacing in search results. Bug: 70907131 Test: Updated SpecialAccessSettingsTest, and created: HighPowerAppsControllerTest DeviceAdministratorsControllerTest PremiumSmsControllerTest DataSaverControllerTest EnabledVrListenersControllerTest Change-Id: I5ad58755643e71d4fb71774404ad96c127440ae4
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.