From 1015e8cbab1dd64bd6d13dce656335125359db2e Mon Sep 17 00:00:00 2001 From: milaq Date: Thu, 3 May 2012 13:01:42 +0200 Subject: [PATCH] make a multidpi build allows the user to choose a dpi value < 192 while maintaining high-res assets at 240dpi add a bit of mb but will be compensated with gapps-light (standard dpi of 160 will be changed back to 240 once out of testing) --- full_leo.mk | 2 +- leo.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/full_leo.mk b/full_leo.mk index a17336b..f6b669d 100644 --- a/full_leo.mk +++ b/full_leo.mk @@ -25,7 +25,7 @@ $(call inherit-product, device/htc/leo/leo_eu.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) # Leo uses high-density artwork where available -PRODUCT_LOCALES += mdpi +PRODUCT_LOCALES += hdpi mdpi # Discard inherited values and use our own instead. PRODUCT_NAME := full_leo diff --git a/leo.mk b/leo.mk index e9c1f4d..61bc735 100644 --- a/leo.mk +++ b/leo.mk @@ -163,8 +163,8 @@ PRODUCT_PACKAGES += \ ADDITIONAL_DEFAULT_PROPERTIES += persist.sys.strictmode.disable=true # leo uses high-density artwork where available -PRODUCT_AAPT_CONFIG := normal mdpi -PRODUCT_AAPT_PREF_CONFIG := mdpi +PRODUCT_AAPT_CONFIG := normal hdpi mdpi +PRODUCT_AAPT_PREF_CONFIG := hdpi mdpi PRODUCT_PROPERTY_OVERRIDES += \ debug.sf.hw=1 \