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:
committed by
Bruno Martins
parent
01aa5dcc68
commit
9aea0a0a7a
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user