rb5: Fix HDMI audio playback
Recently updated audio.primary HAL pick up and set the board
specific HDMI mixer control based on the vendor.hw property.
This patch copies and start the service responsible for setting
that vendor.hw property for RB5.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I811d7e80f97c616ea342002a2c33029367e7a559
diff --git a/rb5/device.mk b/rb5/device.mk
index c5f6774..8fc29a5 100644
--- a/rb5/device.mk
+++ b/rb5/device.mk
@@ -33,6 +33,10 @@
android.hardware.boot@1.2-impl.recovery \
android.hardware.boot@1.2-service
+# Install scripts to set vendor.* properties
+PRODUCT_COPY_FILES += \
+ device/linaro/dragonboard/qcom/set_hw.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_hw.sh
+
PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Qualcomm
PRODUCT_VENDOR_PROPERTIES += ro.soc.model=QRB5165