device.mk: fix the version of android.hardware.audio service
to fix the error reported like the following:
11-25 09:22:33.298 136 136 I hwservicemanager: Since android.hardware.audio@6.0::IDevicesFactory/default is not registered, trying to start it as a lazy HAL.
11-25 09:22:33.298 245 245 I HidlServiceManagement: getService: Trying again for android.hardware.audio@6.0::IDevicesFactory/default...
11-25 09:22:33.315 136 563 W libc : Unable to set property "ctl.interface_start" to "android.hardware.audio@6.0::IDevicesFactory/default": error code: 0x20
01-01 00:01:11.767 0 0 E init : Control message: Could not find 'android.hardware.audio@6.0::IDevicesFactory/default' for ctl.interface_start from pid: 136 (/system/bin/hwservicemanager)
11-25 09:22:34.298 245 245 W HidlServiceManagement: Waited one second for android.hardware.audio@6.0::IDevicesFactory/default
there is no android.hardware.audio@6.0-service defined for the audio servie:
in the file here by default:
https://android.googlesource.com/platform/hardware/interfaces/+/refs/heads/master/audio/common/all-versions/default/service/Android.bp
also remove the module of android.hardware.audio.effect@6.0-service, which is not defined neither.
Test: boot to homescreen without the error above reported again
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: Iecde4274c460074b33091b305511477dd220bddf
diff --git a/device.mk b/device.mk
index 5983f83..ed2122a 100644
--- a/device.mk
+++ b/device.mk
@@ -112,9 +112,8 @@
# Audio
PRODUCT_PACKAGES += \
android.hardware.audio@6.0-impl \
- android.hardware.audio@6.0-service \
+ android.hardware.audio.service \
android.hardware.audio.effect@6.0-impl \
- android.hardware.audio.effect@6.0-service \
# Audio policy configuration
USE_XML_AUDIO_POLICY_CONF := 1