Apply accessibility color features in native mode

Bug: 177965882
Change-Id: I431e9ef5aa2a42d5ac9de71239b76915bad0085a
This commit is contained in:
Long Ling 2021-03-19 21:34:11 -07:00
parent 9c4dcc18b0
commit 49354a1381

View file

@ -176,6 +176,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>
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently <!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware. --> in hardware. -->
<bool name="config_setColorTransformAccelerated">true</bool> <bool name="config_setColorTransformAccelerated">true</bool>