diff --git a/BoardConfig.mk b/BoardConfig.mk index 97feb7c..8de5b02 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -12,5 +12,8 @@ include vendor/xiaomi/zeus/BoardConfigVendor.mk DEVICE_PATH := device/xiaomi/zeus +# Properties +TARGET_VENDOR_PROP += $(DEVICE_PATH)/properties/vendor.prop + # Screen density TARGET_SCREEN_DENSITY := 560 diff --git a/device.mk b/device.mk index 8a90df8..36ada9f 100644 --- a/device.mk +++ b/device.mk @@ -17,6 +17,10 @@ PRODUCT_PACKAGES += \ SystemUIResZeus \ WifiResZeus +# Sensors +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf + # Soong namespaces PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) diff --git a/overlay/Frameworks/res/values/config.xml b/overlay/Frameworks/res/values/config.xml index c511a13..7ebea85 100644 --- a/overlay/Frameworks/res/values/config.xml +++ b/overlay/Frameworks/res/values/config.xml @@ -6,6 +6,9 @@ 0 + + org.lineageos.sensor.udfps +