matisse-common: 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 matteo0026
parent d615668921
commit 6f35c9ee0b
2 changed files with 3 additions and 1 deletions

View File

@ -48,6 +48,9 @@ TARGET_NEEDS_TEXT_RELOCATIONS := true
BOARD_NO_CHARGER_LED := true
BOARD_CHARGER_DISABLE_INIT_BLANK := true
# Display
TARGET_SCREEN_DENSITY := 160
# Extended Filesystem Support
TARGET_EXFAT_DRIVER := sdfat

View File

@ -31,7 +31,6 @@ camera2.portability.force_api=1
ro.hdcp2.rx=tz
ro.qualcomm.cabl=1
ro.secwvk=144
ro.sf.lcd_density=160
debug.sf.disable_backpressure=1
debug.sf.latch_unsignaled=1
debug.sf.recomputecrop=0