This adds the following flag: config_disable_uninstall_update Which by default is false. When set to true, it will hide the "Uninstall updates" menu item for all cases. This is useful for cases where the device OEMs want to allow users to install apps, but do not want the ability to roll back updates on system applications. Bug: 62379281 Test: make RunSettingsRoboTests ROBOTEST_FILTER=AppInfoDashboardFragmentTest Change-Id: I55fe92467ca95c05f6682174c117031d8295790e
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.