diff --git a/configs/sensors/_hals.conf b/configs/sensors/_hals.conf new file mode 100644 index 0000000..644e254 --- /dev/null +++ b/configs/sensors/_hals.conf @@ -0,0 +1 @@ +/vendor/lib/hw/sensors.vendor.msm8974.so \ No newline at end of file diff --git a/device.mk b/device.mk index 1307f20..e732ca6 100755 --- a/device.mk +++ b/device.mk @@ -229,7 +229,11 @@ PRODUCT_COPY_FILES += \ # Sensors PRODUCT_PACKAGES += \ android.hardware.sensors@1.0-impl.samsung8974 \ - android.hardware.sensors@1.0-service.samsung8974 + android.hardware.sensors@1.0-service.samsung8974 \ + sensors.msm8974 + +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/sensors/_hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/_hals.conf # Touch features PRODUCT_PACKAGES += \