Introduce config_disable_uninstall_update flag.
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
This commit is contained in:
@@ -173,4 +173,7 @@
|
||||
|
||||
<!-- Whether wifi_mac_address should be shown or not. -->
|
||||
<bool name="config_show_wifi_mac_address">true</bool>
|
||||
|
||||
<!-- Whether to disable "Uninstall Updates" menu item for System apps or not.. -->
|
||||
<bool name="config_disable_uninstall_update">false</bool>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user