Add display config for redfin.

Include HBM brightness range data.

Test: manual.  Set HBM to enabled, and verify auto brightness works with
the specified HBM range.
Bug: 168210138
Change-Id: I3f9ddbe2773cdf9f195419ff946d6797780bd5fe

Change-Id: I1730653df2ad5b251a2a41057c9b751ef9e8cf66
This commit is contained in:
Santos Cordon 2020-12-17 16:08:30 +00:00
parent 50f444ae5e
commit 308328f60c
2 changed files with 46 additions and 0 deletions

View File

@ -185,6 +185,11 @@ endif
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/gnss_antenna_info.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss_antenna_info.conf
# Display configuration
PRODUCT_COPY_FILES += \
device/google/redfin/displayconfig/display_id_4630946523002478721.xml:$(TARGET_COPY_OUT_VENDOR)/etc/displayconfig/display_id_4630946523002478721.xml
# Audio effects
PRODUCT_PACKAGES += \
libqcomvoiceprocessingdescriptors

View File

@ -0,0 +1,41 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!-- Copyright (C) 2020 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<displayConfiguration>
<screenBrightnessMap>
<point>
<value>0.0</value>
<nits>2.0</nits>
</point>
<point>
<value>1.0</value>
<nits>500.0</nits>
</point>
</screenBrightnessMap>
<highBrightnessMode enabled="false">
<transitionPoint>0.8</transitionPoint>
<minimumLux>10000</minimumLux>
<timing>
<!-- allow for 5 minutes out of every 30 minutes -->
<timeWindowSecs>1800</timeWindowSecs>
<timeMaxSecs>300</timeMaxSecs>
<timeMinSecs>60</timeMinSecs>
</timing>
</highBrightnessMode>
</displayConfiguration>