From a7aa619e94519af94f547ad15a55c38b7b2a938e Mon Sep 17 00:00:00 2001 From: Zhao Wei Liew Date: Thu, 3 Nov 2016 19:19:47 +0800 Subject: [PATCH] land: Enable sensors multi HAL Change-Id: Ia15b7f00660111688bc861a6f5b9d7db6fb50c32 --- board/sensors.mk | 2 ++ product/sensors.mk | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 board/sensors.mk diff --git a/board/sensors.mk b/board/sensors.mk new file mode 100644 index 0000000..3105d25 --- /dev/null +++ b/board/sensors.mk @@ -0,0 +1,2 @@ +# Sensors +USE_SENSOR_MULTI_HAL := true diff --git a/product/sensors.mk b/product/sensors.mk index 4b65fa6..fa32476 100644 --- a/product/sensors.mk +++ b/product/sensors.mk @@ -1,3 +1,7 @@ +# Sensors +PRODUCT_PACKAGES += \ + sensors.msm8937.so + # Permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \