res: Introduce config to allow build-time disabling of components
Change-Id: Ie5f7e63f5b8ba73196cec2128fc36b46028e57f2
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user