sweet: Build 1.0 sensors service
* It was decommonized because some devices require 2.0 sensors service Change-Id: Ieb0d5dc846d3cd0ee35487a31779b7b182f1a4fc
This commit is contained in:
parent
f034a2e78d
commit
6122b67040
@ -12,6 +12,9 @@ DEVICE_PATH := device/xiaomi/sweet
|
||||
# Audio
|
||||
TARGET_PROVIDES_AUDIO_EXTNS := true
|
||||
|
||||
# HIDL
|
||||
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/configs/hidl/manifest.xml
|
||||
|
||||
# Kernel
|
||||
TARGET_KERNEL_CONFIG := sweet_user_defconfig
|
||||
|
||||
|
11
configs/hidl/manifest.xml
Normal file
11
configs/hidl/manifest.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<manifest version="2.0" type="device" target-level="5" >
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.sensors</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>ISensors</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
@ -33,6 +33,11 @@ DEVICE_PACKAGE_OVERLAYS += \
|
||||
PRODUCT_BUILD_SUPER_PARTITION := false
|
||||
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
||||
|
||||
# Sensors
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.sensors@1.0-impl \
|
||||
android.hardware.sensors@1.0-service
|
||||
|
||||
# Soong namespaces
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
$(LOCAL_PATH)
|
||||
|
Loading…
Reference in New Issue
Block a user