Loading core/res/res/values/config.xml +7 −2 Original line number Original line Diff line number Diff line Loading @@ -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): Loading core/res/res/values/symbols.xml +1 −0 Original line number Original line Diff line number Diff line Loading @@ -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" /> Loading Loading
core/res/res/values/config.xml +7 −2 Original line number Original line Diff line number Diff line Loading @@ -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): Loading
core/res/res/values/symbols.xml +1 −0 Original line number Original line Diff line number Diff line Loading @@ -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" /> Loading