sdm660-common: Switch to Audio HAL v5

All devices use pre-R audio.bluetooth_qti.default.so and platina uses
pre-R audio hal, in which the new set_event_callback API is not
implemented and the audio service will crash due to mismatched struct.

Change-Id: Ia330ac05d84d3dfb3a639458d66a3dc29689e67c
This commit is contained in:
dianlujitao 2021-05-15 05:37:03 +06:00 committed by OdSazib
parent 8a1ef1a3b9
commit 4cfd18a6ad
No known key found for this signature in database
GPG key ID: B678DBD07079B021
2 changed files with 4 additions and 5 deletions

View file

@ -29,7 +29,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<hal format="hidl">
<name>android.hardware.audio</name>
<transport>hwbinder</transport>
<version>4.0</version>
<version>5.0</version>
<interface>
<name>IDevicesFactory</name>
<instance>default</instance>
@ -38,7 +38,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<hal format="hidl">
<name>android.hardware.audio.effect</name>
<transport>hwbinder</transport>
<version>4.0</version>
<version>5.0</version>
<interface>
<name>IEffectsFactory</name>
<instance>default</instance>

View file

@ -94,9 +94,8 @@ PRODUCT_COPY_FILES += \
# Audio
PRODUCT_PACKAGES += \
android.hardware.audio@4.0-impl \
android.hardware.audio.effect@4.0-impl \
android.hardware.audio.effect@2.0-service \
android.hardware.audio@5.0-impl \
android.hardware.audio.effect@5.0-impl \
android.hardware.audio.service \
audio.a2dp.default \
audio.primary.sdm660 \