OSDN Git Service

Add anydpi to all product configs
authorAdam Lesinski <adamlesinski@google.com>
Tue, 26 Aug 2014 22:29:33 +0000 (15:29 -0700)
committerAdam Lesinski <adamlesinski@google.com>
Tue, 26 Aug 2014 22:29:33 +0000 (15:29 -0700)
Change-Id: Ia5e0834c585891de58e5daf3473563ab64dba74c

core/product_config.mk

index 48f47eb..32e351c 100644 (file)
@@ -315,8 +315,8 @@ PRODUCT_AAPT_CONFIG := $(strip \
     $(if $(filter %dpi,$(PRODUCT_AAPT_CONFIG)),,mdpi))
 PRODUCT_AAPT_PREF_CONFIG := $(strip $(PRODUCT_AAPT_PREF_CONFIG))
 
-# Everyone gets nodpi assets which are density-independent.
-PRODUCT_AAPT_CONFIG += nodpi
+# Everyone gets nodpi and anydpi assets which are density-independent.
+PRODUCT_AAPT_CONFIG += nodpi anydpi
 
 # Keep a copy of the space-separated config
 PRODUCT_AAPT_CONFIG_SP := $(PRODUCT_AAPT_CONFIG)