sm8250-common: overlay: Map out our display modes

Change-Id: I2755d5a938848d41382f1d3945f008d94eec1cbd
This commit is contained in:
LuK1337 2021-04-27 02:58:16 +02:00
parent de5498efab
commit 2bf9eeee2f
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2007 The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Override supported color mode labels.
NOTE: This list must have the exact same items count as config_availableColorModes -->
<string-array name="available_vendor_color_modes" translatable="false">
<item>Vivid</item>
<item>Natural</item>
<item>AMOLED Wide Gamut</item>
<item>sRGB</item>
<item>Display P3</item>
</string-array>
</resources>

View file

@ -290,4 +290,13 @@
<string-array name="config_biometric_sensors" translatable="false" >
<item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
</string-array>
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
<integer-array name="config_availableColorModes">
<item>0</item>
<item>256</item>
<item>257</item>
<item>258</item>
<item>259</item>
</integer-array>
</resources>