Feature flag for toggling stop system packages default behavior

When the config value set to true, preloaded system apps will be
initially marked as "stopped=true". By default this feature is turned
off.

Bug: 249514169
Test: atest CtsContentTestCases:SystemPackageDefaultStoppedStateTest

Change-Id: I782ea11b90f2cb5bcea5189d4824483d2b4621d5
This commit is contained in:
Sumedh Sen
2023-01-19 15:58:00 -08:00
parent 8f1c13959f
commit a1f2c68678
2 changed files with 25 additions and 0 deletions

View File

@@ -6208,4 +6208,27 @@
trusted certificate using the SHA-256 digest algorithm. -->
<string-array name="config_healthConnectMigrationKnownSigners">
</string-array>
<!-- The Universal Stylus Initiative (USI) protocol version supported by each display.
(@see https://universalstylus.org/).
The i-th value in this array corresponds to the supported USI version of the i-th display
listed in config_displayUniqueIdArray. On a single-display device, the
config_displayUniqueIdArray may be empty, in which case the only value in this array should
be the USI version for the main built-in display.
If the display does not support USI, the version value should be an empty string. If the
display supports USI, the version must be in the following format:
"<major-version>.<minor-version>"
For example, "", "1.0", and "2.0" are valid values. -->
<string-array name="config_displayUsiVersionArray" translatable="false">
<item>""</item>
</string-array>
<!-- Whether system apps should be scanned in the stopped state during initial boot.
Packages can be added by OEMs in an allowlist, to prevent them from being scanned as
"stopped" during initial boot of a device, or after an OTA update. Stopped state of
an app is not changed during subsequent reboots. -->
<bool name="config_stopSystemPackagesByDefault">false</bool>
</resources>

View File

@@ -4886,4 +4886,6 @@
<java-symbol type="string" name="config_mainDisplayShape"/>
<java-symbol type="string" name="config_secondaryDisplayShape"/>
<java-symbol type="array" name="config_displayShapeArray" />
<java-symbol type="bool" name="config_stopSystemPackagesByDefault"/>
</resources>