mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-08-03 15:16:30 +09:00
miatoll: 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:
committed by
Aryan Gupta
parent
258b541c14
commit
6a6f940649
@ -636,6 +636,11 @@
|
||||
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
|
||||
</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
|
||||
certain color mode is active.
|
||||
Composition color spaces are defined in android.view.Display.COLOR_MODE_xxx, and color
|
||||
|
Reference in New Issue
Block a user