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

Commit ef29d03b authored by Christine Franks's avatar Christine Franks Committed by android-build-merger
Browse files

Merge "Add config_setColorTransformAccelerated" into oc-dev am: 51705334

am: a1917a87

Change-Id: Ia784592a714a4a50798f50380f8a85a913ba85dd
parents 02aeb852 a1917a87
Loading
Loading
Loading
Loading
+7 −2
Original line number Original line Diff line number Diff line
@@ -784,9 +784,14 @@
    -->
    -->
    <integer name="config_defaultNightMode">1</integer>
    <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
    <!-- Control whether Night display is available. This should only be enabled on devices
         with HWC 2.0 or higher. -->
         that have a HWC implementation that can apply the matrix passed to setColorTransform
    <bool name="config_nightDisplayAvailable">false</bool>
         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.
    <!-- Default mode to control how Night display is automatically activated.
         One of the following values (see NightDisplayController.java):
         One of the following values (see NightDisplayController.java):
+1 −0
Original line number Original line Diff line number Diff line
@@ -2776,6 +2776,7 @@
  <java-symbol type="drawable" name="ic_doc_video" />
  <java-symbol type="drawable" name="ic_doc_video" />
  <java-symbol type="drawable" name="ic_doc_generic" />
  <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_nightDisplayAvailable" />
  <java-symbol type="bool" name="config_allowDisablingAssistDisclosure" />
  <java-symbol type="bool" name="config_allowDisablingAssistDisclosure" />
  <java-symbol type="integer" name="config_defaultNightDisplayAutoMode" />
  <java-symbol type="integer" name="config_defaultNightDisplayAutoMode" />