From 308328f60cbf7d445f5b089c5a5d00ba9ec880a1 Mon Sep 17 00:00:00 2001 From: Santos Cordon Date: Thu, 17 Dec 2020 16:08:30 +0000 Subject: [PATCH] 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 --- device-redfin.mk | 5 +++ .../display_id_4630946523002478721.xml | 41 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 displayconfig/display_id_4630946523002478721.xml diff --git a/device-redfin.mk b/device-redfin.mk index 0dc9432..60a9768 100644 --- a/device-redfin.mk +++ b/device-redfin.mk @@ -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 diff --git a/displayconfig/display_id_4630946523002478721.xml b/displayconfig/display_id_4630946523002478721.xml new file mode 100644 index 0000000..30f1388 --- /dev/null +++ b/displayconfig/display_id_4630946523002478721.xml @@ -0,0 +1,41 @@ + + + + + + + + 0.0 + 2.0 + + + 1.0 + 500.0 + + + + + 0.8 + 10000 + + + 1800 + 300 + 60 + + + +