sm6250-common: Add config value for a11y color mode

Accessibility transforms require a specific color mode that is not
always available for the user to select.

Bug: 130376719
Test: atest com.google.android.config.pts
Change-Id: Ia3211d5aa6e117c5361dea44d944064b23260a81
This commit is contained in:
Christine Franks 2019-05-08 15:15:40 -07:00 committed by Nick C
parent f417b85558
commit 7a9ebf10bc

View File

@ -662,6 +662,11 @@
<item>3</item> <!-- COLOR_MODE_AUTOMATIC --> <item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
</integer-array> </integer-array>
<!-- Color mode to use when accessibility transforms are enabled. This color mode must be
supported by the device, but not necessarily appear in config_availableColorModes. The
regularly selected color mode will be used if this value is negative. -->
<integer name="config_accessibilityColorMode">2</integer>
<!-- The following two arrays specify which color space to use for display composition when a <!-- The following two arrays specify which color space to use for display composition when a
certain color mode is active. certain color mode is active.
Composition color spaces are defined in android.view.Display.COLOR_MODE_xxx, and color Composition color spaces are defined in android.view.Display.COLOR_MODE_xxx, and color