d2x: displayconfig: Setup density mapping

Change-Id: I1a0cab5d554b072d889133128b49f8ccf4d4fb21
Signed-off-by: ExtremeXT <extremextdev@gmail.com>
This commit is contained in:
pjgowtham
2025-10-01 13:52:49 +03:00
committed by 0xsharkboy
parent 109c8e0530
commit d8b39c4c7a
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<displayConfiguration>
<densityMapping>
<density>
<height>2280</height>
<width>1080</width>
<density>420</density>
</density>
<density>
<height>3040</height>
<width>1440</width>
<density>560</density>
</density>
</densityMapping>
</displayConfiguration>

View File

@@ -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