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

Commit 3595562c authored by felipeal's avatar felipeal
Browse files

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

Test: compiled and build on flame_car; should be the same for others

Bug: 160821620
Bug: 160823761
Change-Id: Ia4095aa921cbd8e7414ae30075e0e29270f45b6d
parent 3e6f4c65
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