Skip to content

Commit

Permalink
ferrari: displayconfig: Setup density mapping
Browse files Browse the repository at this point in the history
Change-Id: I1a0cab5d554b072d889133128b49f8ccf4d4fb21
  • Loading branch information
pjgowtham committed Nov 12, 2024
1 parent 94ab874 commit 88dcf20
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
16 changes: 16 additions & 0 deletions configs/display_id_4630946358012694402.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<displayConfiguration>
<densityMapping>
<density>
<height>1080</height>
<width>2412</width>
<density>450</density>
</density>
<density>
<height>1440</height>
<width>3216</width>
<density>560</density>
</density>
</densityMapping>
</displayConfiguration>

4 changes: 4 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ TARGET_SCREEN_WIDTH := 1080
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml

# Display
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/display_id_4630946358012694402.xml:$(TARGET_COPY_OUT_VENDOR)/etc/displayconfig/display_id_4630946358012694402.xml

# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc-service.nxp \
Expand Down

0 comments on commit 88dcf20

Please sign in to comment.