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

Commit 7f4724b7 authored by Felipe Leme's avatar Felipe Leme
Browse files

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

This reverts commit 5bba103051dfdafc0d2cda15bc7b5eb121c062ed.

Bug: 160821620
Bug: 160823761

Test: compiled and built on bonito_car; should be the same for others
Change-Id: I8a1f3b4b28775241f92a3bfc916149489abab42a
parent d2865178
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -313,14 +313,8 @@ 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