From f1ff6e2d9c688411a6aa1834b5613353851f2a03 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Fri, 18 Jan 2019 14:10:45 +0000 Subject: [PATCH] universal7885: 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 Signed-off-by: SamarV-121 --- BoardConfigCommon.mk | 3 +++ vendor.prop | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 7753f4c..aab6fa6 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -38,6 +38,9 @@ BUILD_BROKEN_VINTF_PRODUCT_COPY_FILES := true # Camera TARGET_CAMERA_BOOTTIME_TIMESTAMP := true +# Display +TARGET_SCREEN_DENSITY := 420 + # Filesystem TARGET_USERIMAGES_USE_EXT4 := true TARGET_USERIMAGES_USE_F2FS := true diff --git a/vendor.prop b/vendor.prop index 5cea8b9..dbb21ea 100644 --- a/vendor.prop +++ b/vendor.prop @@ -2,9 +2,6 @@ # Disable invocation of oem_lock ro.frp.pst=/dev/block/persistent -## Display -ro.sf.lcd_density=420 - # fastbootd ro.fastbootd.available=true