Skip to content

Commit

Permalink
whyred: Add remapping table for display modes
Browse files Browse the repository at this point in the history
 * Map the values returned from the backend to ones we
   understand.

Change-Id: Iece11f4285ee01bf0c17dcbcb02108b9338193f6
  • Loading branch information
moetayuko authored and SebaUbuntu committed Apr 21, 2021
1 parent a683a61 commit be006a6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,18 @@
<bool name="config_haveHigherAspectRatioScreen">true</bool>

<bool name="config_defaultCABC">false</bool>

<!-- Display mode remapping table.
If the mode names returned by the backend do not match
the predefined and translated strings in the Settings
app, they can be remapped here. The format is
"oldname:newname", one per entry. -->
<string-array name="config_displayModeMappings" translatable="false">
<item>A_Standard:standard</item>
<item>B_Warm mode:reading</item>
<item>D_Cold mode:dynamic</item>
</string-array>

<!-- Should we filter any display modes which are unmapped? -->
<bool name="config_filterDisplayModes">true</bool>
</resources>

0 comments on commit be006a6

Please sign in to comment.