Skip to content

Commit 7435a91

Browse files
author
Steve Kondik
committed
build: Use xxxhdpi recovery resources on 560dpi devices
* Because we don't have an exact match. Change-Id: I76be485d1390eb89a52f91c365ff79157ae02571
1 parent e6358d0 commit 7435a91

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,8 +800,12 @@ recovery_resources_common := $(call project-path-for,recovery)/res
800800
# Set recovery_density to the density bucket of the device.
801801
recovery_density := unknown
802802
ifneq (,$(PRODUCT_AAPT_PREF_CONFIG))
803+
ifeq ($(PRODUCT_AAPT_PREF_CONFIG),560dpi)
804+
recovery_density := xxxhdpi
805+
else
803806
# If PRODUCT_AAPT_PREF_CONFIG includes a dpi bucket, then use that value.
804807
recovery_density := $(filter %dpi,$(PRODUCT_AAPT_PREF_CONFIG))
808+
endif
805809
else
806810
# Otherwise, use the default medium density.
807811
recovery_densities := mdpi

0 commit comments

Comments
 (0)