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

Commit d5374b89 authored by Christine Franks's avatar Christine Franks
Browse files

Add config_setColorTransformAccelerated

Bug: 36603386
Test: lunch aosp_arm-eng && make -j100
Change-Id: I56dcedb5c5b4a6ed973b5763c0d0082fcff9de61
parent e4776416
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" />