perseus: 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
This commit is contained in:
Anton Hansson
2019-01-18 14:10:45 +00:00
committed by Bruno Martins
parent 01aa5dcc68
commit 9aea0a0a7a
2 changed files with 3 additions and 3 deletions

View File

@@ -12,6 +12,9 @@ DEVICE_PATH := device/xiaomi/perseus
# Assert
TARGET_OTA_ASSERT_DEVICE := perseus
# Display
TARGET_SCREEN_DENSITY := 440
# Kernel
BOARD_KERNEL_SEPARATED_DTBO := true
TARGET_KERNEL_CONFIG := perseus_defconfig

View File

@@ -8,6 +8,3 @@ persist.camera.saf.stablecnt=3
# Display
ro.surface_flinger.has_wide_color_display=true
# Display density
ro.sf.lcd_density=440