Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1f2c686 authored by Sumedh Sen's avatar Sumedh Sen
Browse files

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
parent 8f1c1395
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -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>
+2 −0
Original line number Diff line number Diff line
@@ -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>