diff --git a/device.mk b/device.mk index 598c760..8649318 100644 --- a/device.mk +++ b/device.mk @@ -26,6 +26,13 @@ PRODUCT_PACKAGES += \ WifiResVermeerPOCO \ WifiResVermeerRedmi +# Sensors +PRODUCT_PACKAGES += \ + sensors.xiaomi.v2 + +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/hals.conf:$(TARGET_COPY_OUT_ODM)/etc/sensors/hals.conf + # Soong namespaces PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) diff --git a/hals.conf b/hals.conf new file mode 100644 index 0000000..44a8777 --- /dev/null +++ b/hals.conf @@ -0,0 +1 @@ +sensors.xiaomi.v2.so \ No newline at end of file