From 6f948dcbf7b3c8fbdebe8f46ad624f428a09cd27 Mon Sep 17 00:00:00 2001 From: pjgowtham Date: Wed, 1 Oct 2025 13:52:49 +0300 Subject: [PATCH] d2x: displayconfig: Setup density mapping Change-Id: I1a0cab5d554b072d889133128b49f8ccf4d4fb21 Signed-off-by: ExtremeXT --- .../display/display_id_4633128672291735937.xml | 16 ++++++++++++++++ device.mk | 4 ++++ 2 files changed, 20 insertions(+) create mode 100644 configs/display/display_id_4633128672291735937.xml diff --git a/configs/display/display_id_4633128672291735937.xml b/configs/display/display_id_4633128672291735937.xml new file mode 100644 index 0000000..98ad16f --- /dev/null +++ b/configs/display/display_id_4633128672291735937.xml @@ -0,0 +1,16 @@ + + + + + 2280 + 1080 + 420 + + + 3040 + 1440 + 560 + + + + diff --git a/device.mk b/device.mk index 4096d8c..84d8b28 100644 --- a/device.mk +++ b/device.mk @@ -27,5 +27,9 @@ $(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk) PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml +# Display +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/display/display_id_4633128672291735937.xml:$(TARGET_COPY_OUT_VENDOR)/etc/displayconfig/display_id_4633128672291735937.xml + # Overlays DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay