HACK: hard-code HAL name to audio.primary.omap4.so
Otherwise, hw_get_module_by_class() doesn't pick it up, and we get
stuck with the useless stub HAL in hardware/libhardware/modules/audio
instead.
This should instead be set to some build variable that evaluates to
something in hardware.c's variant_keys list, but I don't care.
diff --git a/Android.mk b/Android.mk
index fb97c6b..a7586b2 100644
--- a/Android.mk
+++ b/Android.mk
@@ -47,7 +47,7 @@
ifeq ($(strip $(BOARD_USES_TINYHAL_AUDIO)),true)
include $(CLEAR_VARS)
-LOCAL_MODULE := audio.primary.$(TARGET_DEVICE)
+LOCAL_MODULE := audio.primary.omap4
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE_TAGS := optional