Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2865178 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Temporary changed how ro.sf.lcd_density is set so it can build on phone_car."

parents 4c5d8a7d 3595562c
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -313,8 +313,14 @@ ADDITIONAL_VENDOR_PROPERTIES += \
    ro.hwui.use_vulkan=$(TARGET_USES_VULKAN)

ifdef TARGET_SCREEN_DENSITY
# TODO(b/160823761): using ?= because otherwise it cannot be overridden by
# 'phone_car' targets (like coral-car) because they use the same BoardConfig.mk
# as the 'phone' counterparts (like coral). Once we fix those builds to use the
# proper TARGET_DEVICE (like coral-car instead of coral), we should change it
# to:
#    ro.sf.lcd_density=$(TARGET_SCREEN_DENSITY)
ADDITIONAL_VENDOR_PROPERTIES += \
    ro.sf.lcd_density=$(TARGET_SCREEN_DENSITY)
    ro.sf.lcd_density?=$(TARGET_SCREEN_DENSITY)
endif

ifdef AB_OTA_UPDATER