Migrate pixel 2 to audio V4

Test: regression test on the board
Bug: 38184704
Change-Id: Ife559125850277865451f92ea862e7ec47fc9da7
Merged-In: Ife559125850277865451f92ea862e7ec47fc9da7
Cherry-picked from master
Signed-off-by: Kevin Rocard <krocard@google.com>
This commit is contained in:
Kevin Rocard
2018-03-02 19:41:31 -08:00
parent a7b1f6be9c
commit 2697312928
3 changed files with 9 additions and 5 deletions

View File

@@ -172,3 +172,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.vibr
# Remove all HALs (actual bitness now being specified)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/*)
# Remove android.hardware.audio*@2.0 implementation
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/android.hardware.audio*@2.0-impl.so)

View File

@@ -463,8 +463,8 @@ PRODUCT_PACKAGES += \
libaudio-resampler
PRODUCT_PACKAGES += \
android.hardware.audio@2.0-impl:32 \
android.hardware.audio.effect@2.0-impl:32 \
android.hardware.audio@4.0-impl:32 \
android.hardware.audio.effect@4.0-impl:32 \
android.hardware.soundtrigger@2.1-impl:32 \
android.hardware.audio@2.0-service

View File

@@ -1,8 +1,8 @@
<manifest version="1.0" type="device" target-level="2">
<manifest version="1.0" type="device" target-level="3">
<hal format="hidl">
<name>android.hardware.audio</name>
<transport>hwbinder</transport>
<version>2.0</version>
<version>4.0</version>
<interface>
<name>IDevicesFactory</name>
<instance>default</instance>
@@ -11,7 +11,7 @@
<hal format="hidl">
<name>android.hardware.audio.effect</name>
<transport>hwbinder</transport>
<version>2.0</version>
<version>4.0</version>
<interface>
<name>IEffectsFactory</name>
<instance>default</instance>