davinci: Configure display density

Change-Id: Id50971e3b28c68f5035c58aa61de2e475bd1b03a
This commit is contained in:
Arian
2020-03-23 21:39:07 +01:00
parent f74425846c
commit 858abbcd7d

View File

@@ -23,6 +23,15 @@ $(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
# Call the proprietary setup # Call the proprietary setup
$(call inherit-product, vendor/xiaomi/davinci/davinci-vendor.mk) $(call inherit-product, vendor/xiaomi/davinci/davinci-vendor.mk)
# Boot animation
TARGET_SCREEN_HEIGHT := 2340
TARGET_SCREEN_WIDTH := 1080
# Screen density
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
TARGET_SCREEN_DENSITY := 440
# Soong namespaces # Soong namespaces
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH) $(LOCAL_PATH)