Migrate to audio V4

The new devices must ship with audio HAL V4.

Note: there are no CleanSpec.mk in Cuttlefish.
This does not break incremental build, it just leaves
small unused V2 libraries on the vendor partition
until the next clean build.

Bug: 38184704
Test: the same change was tested on Pixel 1 and 2
      It could not be tested on this device due to hardware not
      available.
Change-Id: I31d91448144a7776ba4f95c29a37b577c4343441
Signed-off-by: Kevin Rocard <krocard@google.com>
diff --git a/shared/config/manifest.xml b/shared/config/manifest.xml
index 2ff3436..4f2a415 100644
--- a/shared/config/manifest.xml
+++ b/shared/config/manifest.xml
@@ -20,7 +20,7 @@
     <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>
@@ -29,7 +29,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>
diff --git a/shared/device.mk b/shared/device.mk
index 450bc26..410e0c6 100644
--- a/shared/device.mk
+++ b/shared/device.mk
@@ -174,8 +174,8 @@
 #
 PRODUCT_PACKAGES += \
     audio.primary.vsoc \
-    android.hardware.audio@2.0-impl \
-    android.hardware.audio.effect@2.0-impl \
+    android.hardware.audio@4.0-impl \
+    android.hardware.audio.effect@4.0-impl \
     android.hardware.audio@2.0-service
 
 #