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.
diff --git a/axolotl/BoardConfig.mk b/axolotl/BoardConfig.mk
index dfc04e1..7cea376 100644
--- a/axolotl/BoardConfig.mk
+++ b/axolotl/BoardConfig.mk
@@ -3,6 +3,7 @@
# Board Information
TARGET_BOOTLOADER_BOARD_NAME := axolotl
TARGET_BOARD_PLATFORM := axolotl
+TARGET_SCREEN_DENSITY := 400
# Kernel/boot.img Configuration
BOARD_KERNEL_CMDLINE += androidboot.hardware=axolotl
diff --git a/beryllium/BoardConfig.mk b/beryllium/BoardConfig.mk
index 3e1d727..4d14d8a 100644
--- a/beryllium/BoardConfig.mk
+++ b/beryllium/BoardConfig.mk
@@ -4,6 +4,7 @@
# Board Information
TARGET_BOOTLOADER_BOARD_NAME := beryllium
TARGET_BOARD_PLATFORM := beryllium
+TARGET_SCREEN_DENSITY := 400
# Kernel/boot.img Configuration
BOARD_KERNEL_CMDLINE += androidboot.hardware=beryllium
diff --git a/enchilada/BoardConfig.mk b/enchilada/BoardConfig.mk
index ecb3676..85e378d 100644
--- a/enchilada/BoardConfig.mk
+++ b/enchilada/BoardConfig.mk
@@ -4,6 +4,7 @@
# Board Information
TARGET_BOOTLOADER_BOARD_NAME := enchilada
TARGET_BOARD_PLATFORM := enchilada
+TARGET_SCREEN_DENSITY := 400
# Kernel/boot.img Configuration
BOARD_KERNEL_CMDLINE += androidboot.hardware=enchilada
diff --git a/shared/device.mk b/shared/device.mk
index 17c7114..3c25da1 100644
--- a/shared/device.mk
+++ b/shared/device.mk
@@ -51,7 +51,6 @@
ro.hardware.gralloc=minigbm_msm \
ro.hardware.hwcomposer=drm \
debug.sf.no_hw_vsync=1 \
- ro.sf.lcd_density=400 \
ro.opengles.version=196609
#