From 10e9beeaeab80490c1465cc50b301feb580c951a Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Fri, 18 Jan 2019 14:10:45 +0000 Subject: [PATCH] avicii: Use TARGET_SCREEN_DENSITY This variable is used to auto-populate the ro.sf.lcd_density as well as selecting density bucket for resources in recovery. Bug: 118676832 Test: adb shell getprop ro.sf.lcd_density Test: boot into recovery Change-Id: Ib383d18b61e7a2058a69ae26136aa053fdba4df2 --- BoardConfig.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index ed8c1b5..1f97743 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -67,6 +67,7 @@ TARGET_SYSTEM_EXT_PROP += $(DEVICE_PATH)/system_ext.prop TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop # Display +TARGET_SCREEN_DENSITY := 440 TARGET_USES_COLOR_METADATA := true TARGET_USES_DISPLAY_RENDER_INTENTS := true TARGET_USES_DRM_PP := true