aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/audio_hw.c2
-rw-r--r--device.mk3
2 files changed, 2 insertions, 3 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 4dad691..3b6b692 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -1731,7 +1731,7 @@ static int adev_open(const hw_module_t* module, const char* name,
return -ENOMEM;
adev->hw_device.common.tag = HARDWARE_DEVICE_TAG;
- adev->hw_device.common.version = AUDIO_DEVICE_API_VERSION_CURRENT;
+ adev->hw_device.common.version = AUDIO_DEVICE_API_VERSION_2_0;
adev->hw_device.common.module = (struct hw_module_t *) module;
adev->hw_device.common.close = adev_close;
diff --git a/device.mk b/device.mk
index 4f9749c..9ef6b66 100644
--- a/device.mk
+++ b/device.mk
@@ -91,8 +91,7 @@ $(call inherit-product-if-exists, device/linaro/build/extra-and-tests.mk)
# Include Android userspace tests
$(call inherit-product-if-exists, external/linaro-android-userspace-test/product.mk)
-# Disable audio for now in Android Lollipop
-# PRODUCT_PACKAGES += audio.primary.vexpress
+PRODUCT_PACKAGES += audio.primary.vexpress
# Need AppWidget permission to prevent from Launcher's crash.