res: Introduce config to allow build-time disabling of components

Change-Id: Ie5f7e63f5b8ba73196cec2128fc36b46028e57f2
This commit is contained in:
Han Wang
2022-03-19 07:24:48 +01:00
committed by Bruno Martins
parent ae4d409d98
commit 61767fe1e3
2 changed files with 18 additions and 0 deletions

View File

@@ -291,4 +291,17 @@
<!-- Whether to notify fingerprint client of successful cancelled authentication
(needed for some older vendor fingerprint HAL implementations) -->
<bool name="config_fingerprintPostResetRunnableForAllClients">false</bool>
<!-- The list of components which should be automatically disabled for a specific device.
Note: this MUST not be used to randomly disable components, ask for approval first! -->
<string-array name="config_deviceDisabledComponents" translatable="false">
</string-array>
<!-- The list of components which should be automatically disabled for all devices. -->
<string-array name="config_globallyDisabledComponents" translatable="false">
</string-array>
<!-- The list of components which should be forced to be enabled. -->
<string-array name="config_forceEnabledComponents" translatable="false">
</string-array>
</resources>

View File

@@ -175,4 +175,9 @@
<!-- Whether to notify fingerprint client of successful cancelled authentication
(needed for some older vendor fingerprint HAL implementations) -->
<java-symbol type="bool" name="config_fingerprintPostResetRunnableForAllClients" />
<!-- Package Manager -->
<java-symbol type="array" name="config_deviceDisabledComponents" />
<java-symbol type="array" name="config_globallyDisabledComponents" />
<java-symbol type="array" name="config_forceEnabledComponents" />
</resources>