Support vendor modes in color mode preference
Bug: 161299146 Test: atest SettingsUnitTests:ColorModePreferenceControllerTest and atest SettingsUnitTests:ColorModePreferenceFragmentTest Change-Id: I76ed54bb444170d4b8935f8f12bed599a946aa14
This commit is contained in:
@@ -530,4 +530,24 @@
|
||||
|
||||
<!-- Whether to show Smart Storage toggle -->
|
||||
<bool name="config_show_smart_storage_toggle">true</bool>
|
||||
|
||||
<!-- Display settings screen, Color mode options. Must be the same length and order as
|
||||
config_color_mode_options_values below. Only the values that also appear in
|
||||
frameworks/base/core/res/res/values/config.xml's config_availableColorModes are shown. -->
|
||||
<string-array name="config_color_mode_options_strings" translatable="false">
|
||||
<item>@string/color_mode_option_natural</item>
|
||||
<item>@string/color_mode_option_boosted</item>
|
||||
<item>@string/color_mode_option_saturated</item>
|
||||
<item>@string/color_mode_option_automatic</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Display settings screen, Color mode options. Must be the same length and order as
|
||||
config_color_mode_options_strings above. Only the values that also appear in
|
||||
frameworks/base/core/res/res/values/config.xml's config_availableColorModes are shown. -->
|
||||
<integer-array name="config_color_mode_options_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</integer-array>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user