aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-04-01 00:09:52 (GMT)
committerSteve Kondik <steve@cyngn.com>2015-04-01 00:09:52 (GMT)
commit7435a914a1c402d83ae0934d5e8ec66c7ac39076 (patch)
tree1a8056ee2860627d7febd8a87f1d6e09ebadec73
parente6358d0614d13216e5bb04173075a61b410519c5 (diff)
downloadandroid_build-staging/cm-12.1.zip
android_build-staging/cm-12.1.tar.gz
android_build-staging/cm-12.1.tar.bz2
build: Use xxxhdpi recovery resources on 560dpi devicesstaging/cm-12.1refs/changes/33/3433/1
* Because we don't have an exact match. Change-Id: I76be485d1390eb89a52f91c365ff79157ae02571
-rw-r--r--core/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index aa1bb73..66dddc2 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -800,8 +800,12 @@ recovery_resources_common := $(call project-path-for,recovery)/res
# Set recovery_density to the density bucket of the device.
recovery_density := unknown
ifneq (,$(PRODUCT_AAPT_PREF_CONFIG))
+ifeq ($(PRODUCT_AAPT_PREF_CONFIG),560dpi)
+recovery_density := xxxhdpi
+else
# If PRODUCT_AAPT_PREF_CONFIG includes a dpi bucket, then use that value.
recovery_density := $(filter %dpi,$(PRODUCT_AAPT_PREF_CONFIG))
+endif
else
# Otherwise, use the default medium density.
recovery_densities := mdpi