From 0df850970ce1a817060502534d3e43283c3e1d14 Mon Sep 17 00:00:00 2001 From: nyyu Date: Fri, 2 Dec 2022 21:23:46 +0100 Subject: [PATCH] mondrian: Add Display nits map fix logspam "requesting nits when no mapping exists" --- configs/display_id_0.xml | 26 ++++++++++++++++++++++++++ device.mk | 4 ++++ 2 files changed, 30 insertions(+) create mode 100644 configs/display_id_0.xml diff --git a/configs/display_id_0.xml b/configs/display_id_0.xml new file mode 100644 index 0000000..499e98f --- /dev/null +++ b/configs/display_id_0.xml @@ -0,0 +1,26 @@ + + + + + + + + 0.0 + 2.0 + + + 1.0 + 373.0 + + + diff --git a/device.mk b/device.mk index 48e9e4f..d6e00eb 100755 --- a/device.mk +++ b/device.mk @@ -50,6 +50,10 @@ PRODUCT_PACKAGES += \ PRODUCT_AAPT_CONFIG := normal PRODUCT_AAPT_PREF_CONFIG := xxhdpi +# Display Device Config +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/display_id_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/displayconfig/display_id_0.xml + # Doze PRODUCT_PACKAGES += \ SamsungDoze