Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7435a914 authored by Steve Kondik's avatar Steve Kondik
Browse files

build: Use xxxhdpi recovery resources on 560dpi devices

 * Because we don't have an exact match.

Change-Id: I76be485d1390eb89a52f91c365ff79157ae02571
parent e6358d06
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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