mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-02 20:17:16 +09:00
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:
parent
f417b85558
commit
7a9ebf10bc
@ -662,6 +662,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user