db845c: update FCM version to 7
which is required by API level 33.
Also updated the health, thermal, bluetooth audio HALs,
refered to the implementations in cuttlefish.
otherwise the VTS testcases
DeviceManifestTest#NoDeprecatedHalsOnManifest
DeviceManifestTest#ThermalHal
will report failures on them.
Fixes: 183f6a7cc351 ("db845c: bump PRODUCT_SHIPPING_API_LEVEL to 33")
Test: vts -m vts_treble_vintf_vendor_test
Change-Id: Ifdbdf27ccea7edc4d561ecef0ea3ff70ee9ce5c4
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
diff --git a/full.mk b/full.mk
index 69d8a80..43a9e24 100644
--- a/full.mk
+++ b/full.mk
@@ -97,6 +97,12 @@
audio.usb.default \
audio.r_submix.default
+# Bluetooth Audio AIDL HAL
+PRODUCT_PACKAGES += \
+ android.hardware.bluetooth.audio-impl \
+PRODUCT_COPY_FILES += \
+ frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml \
+
# Build tinyalsa cli tools for debugging
PRODUCT_PACKAGES += \
tinyplay \
@@ -104,12 +110,12 @@
tinymix \
tinypcminfo
+
# audio policy configuration
USE_XML_AUDIO_POLICY_CONF := 1
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/etc/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
$(LOCAL_PATH)/etc/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
- $(LOCAL_PATH)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml \
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
frameworks/av/services/audiopolicy/config/primary_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/primary_audio_policy_configuration.xml \
@@ -154,10 +160,11 @@
PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0-service.software
-# Health
-PRODUCT_PACKAGES += \
- android.hardware.health@2.1-impl-cuttlefish \
- android.hardware.health@2.1-service
+# Health HAL
+PRODUCT_PACKAGES += com.google.cf.health
+
+# Thermal HAL
+PRODUCT_PACKAGES += com.android.hardware.thermal
# TODO: disable this service once we implement system suspend
PRODUCT_PACKAGES += \
diff --git a/manifest.xml b/manifest.xml
index db43cdd..8643532 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -1,4 +1,4 @@
-<manifest version="1.0" type="device" target-level="6">
+<manifest version="1.0" type="device" target-level="7">
<hal format="hidl">
<name>android.hardware.audio</name>
<transport>hwbinder</transport>
@@ -27,15 +27,6 @@
</interface>
</hal>
<hal format="hidl">
- <name>android.hardware.bluetooth.audio</name>
- <transport>hwbinder</transport>
- <version>2.0</version>
- <interface>
- <name>IBluetoothAudioProvidersFactory</name>
- <instance>default</instance>
- </interface>
- </hal>
- <hal format="hidl">
<name>android.hardware.camera.provider</name>
<transport>hwbinder</transport>
<impl level="generic"></impl>