land: Enable sensors multi HAL

Change-Id: Ia15b7f00660111688bc861a6f5b9d7db6fb50c32
This commit is contained in:
Zhao Wei Liew 2016-11-03 19:19:47 +08:00
parent 38dd53d896
commit a7aa619e94
2 changed files with 6 additions and 0 deletions

2
board/sensors.mk Normal file
View file

@ -0,0 +1,2 @@
# Sensors
USE_SENSOR_MULTI_HAL := true

View file

@ -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 \