This adds two flags: config_show_app_info_settings_memory config_show_app_info_settings_battery Which when individually set to false, will hide them item from "App info" which is accessed from clicking on an application in Apps & notifications -> App info. Bug: 62379413 Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.applications Change-Id: Ifb3b644901728dc7ea04d13198abddaa7b230538
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.