klte-common: Add sensors HAL impl

Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba30
This commit is contained in:
Rashed Abdel-Tawab 2017-10-11 19:33:30 +03:00 committed by Kevin F. Haggerty
parent 2d5186e1f1
commit 783402f469
2 changed files with 13 additions and 0 deletions

View File

@ -148,6 +148,10 @@ PRODUCT_PACKAGES += \
init.sec.boot.sh \
ueventd.qcom.rc
# Sensors
PRODUCT_PACKAGES += \
android.hardware.sensors@1.0-impl
# Thermal
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine-8974.conf:system/etc/thermal-engine-8974.conf

View File

@ -121,6 +121,15 @@
<instance>slot1</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.sensors</name>
<transport arch="32">passthrough</transport>
<version>1.0</version>
<interface>
<name>ISensors</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.usb</name>
<transport>hwbinder</transport>