Audio V4: Require audio V4 in new devices, optional for upgrades

Upgrading devices are allowed to stay on audio V2,
but can also update to V4.

Bug: 38184704
Test: compile and check V4 can be loaded and functional with lshal
Change-Id: Ib1c8381925837a8402ae535755a0558afcf26f4d
Signed-off-by: Kevin Rocard <krocard@google.com>
This commit is contained in:
Kevin Rocard
2018-03-06 08:59:42 -08:00
parent c2b7f42d7d
commit 5b84bbb548

View File

@@ -2,6 +2,7 @@
<hal format="hidl" optional="false">
<name>android.hardware.audio</name>
<version>2.0</version>
<version>4.0</version>
<interface>
<name>IDevicesFactory</name>
<instance>default</instance>
@@ -10,6 +11,7 @@
<hal format="hidl" optional="false">
<name>android.hardware.audio.effect</name>
<version>2.0</version>
<version>4.0</version>
<interface>
<name>IEffectsFactory</name>
<instance>default</instance>