Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51705334 authored by Christine Franks's avatar Christine Franks Committed by Android (Google) Code Review
Browse files

Merge "Add config_setColorTransformAccelerated" into oc-dev

parents 7215778a d5374b89
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -784,9 +784,14 @@
    -->
    <integer name="config_defaultNightMode">1</integer>

    <!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
         in hardware. -->
    <bool name="config_setColorTransformAccelerated">false</bool>

    <!-- Control whether Night display is available. This should only be enabled on devices
         with HWC 2.0 or higher. -->
    <bool name="config_nightDisplayAvailable">false</bool>
         that have a HWC implementation that can apply the matrix passed to setColorTransform
         without impacting power, performance, and app compatibility (e.g. protected content). -->
    <bool name="config_nightDisplayAvailable">@bool/config_setColorTransformAccelerated</bool>

    <!-- Default mode to control how Night display is automatically activated.
         One of the following values (see NightDisplayController.java):
+1 −0
Original line number Diff line number Diff line
@@ -2774,6 +2774,7 @@
  <java-symbol type="drawable" name="ic_doc_video" />
  <java-symbol type="drawable" name="ic_doc_generic" />

  <java-symbol type="bool" name="config_setColorTransformAccelerated" />
  <java-symbol type="bool" name="config_nightDisplayAvailable" />
  <java-symbol type="bool" name="config_allowDisablingAssistDisclosure" />
  <java-symbol type="integer" name="config_defaultNightDisplayAutoMode" />