This commit is contained in:
Ziyang Zhou
2022-07-10 09:11:22 +08:00
parent 63eac7fb21
commit 9b0fe4386f
3 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.bluetooth</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IBluetoothHci</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

View File

@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<permissions> <permissions>
<unavailable-feature name="android.hardware.bluetooth" />
</permissions> </permissions>

View File

@@ -94,6 +94,11 @@ $(call inherit-product, hardware/redroid/c2/c2.mk)
endif endif
DEVICE_MANIFEST_FILE += device/redroid/android.hardware.bluetooth@1.1.xml
PRODUCT_PACKAGES += android.hardware.bluetooth@1.1-service.sim
PRODUCT_SOONG_NAMESPACES += frameworks/av/services/audiopolicy/config PRODUCT_SOONG_NAMESPACES += frameworks/av/services/audiopolicy/config
# audio policy # audio policy
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \