Skip to content

Commit

Permalink
surya: Return color modes
Browse files Browse the repository at this point in the history
  • Loading branch information
xyyx committed Dec 11, 2022
1 parent 87ccc62 commit e660980
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions overlay/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -642,4 +642,12 @@
<item>900</item> <!--item>sensorLocationY</item-->
<item>115</item> <!--item>sensorRadius</item-->
</array>

<!-- List supported color modes. -->
<integer-array name="config_availableColorModes">
<item>0</item> <!-- COLOR_MODE_NATURAL -->
<item>1</item> <!-- vendor color mode boosted -->
<item>2</item> <!-- COLOR_MODE_SATURATED -->
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
</integer-array>
</resources>
9 changes: 9 additions & 0 deletions overlay/packages/apps/Settings/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,13 @@
-->
<integer name="config_fingerprintSensorLocation">3</integer>

<!-- 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>

0 comments on commit e660980

Please sign in to comment.