Revert "smdk4412-common: audio: remove old workaround for call audio issues"

This reverts commit 32ed0f56bc77bf5817e5cdc9d40f7a4082cc9544.

There are reports of cases in which this still is happening.

Change-Id: I0e49a3ff8476ef6212233a38f0d96642710e991e
diff --git a/audio/silence.wav b/audio/silence.wav
new file mode 100644
index 0000000..5fe31d2
--- /dev/null
+++ b/audio/silence.wav
Binary files differ
diff --git a/common.mk b/common.mk
index 1a87d7b..a8d8072 100644
--- a/common.mk
+++ b/common.mk
@@ -37,7 +37,8 @@
 # Audio
 PRODUCT_COPY_FILES += \
     $(COMMON_PATH)/configs/audio_effects.conf:system/etc/audio_effects.conf \
-    $(COMMON_PATH)/configs/audio_policy.conf:system/etc/audio_policy.conf
+    $(COMMON_PATH)/configs/audio_policy.conf:system/etc/audio_policy.conf \
+    $(COMMON_PATH)/audio/silence.wav:system/etc/sound/silence.wav
 
 # Camera FW
 PRODUCT_COPY_FILES += \
diff --git a/rootdir/init.smdk4x12.rc b/rootdir/init.smdk4x12.rc
index 25012b1..aa6e570 100755
--- a/rootdir/init.smdk4x12.rc
+++ b/rootdir/init.smdk4x12.rc
@@ -500,3 +500,10 @@
 service macloader /system/bin/macloader
     class main
     oneshot
+
+# Workaround for broken incall audio
+service bootsnd /system/bin/tinyplay /system/etc/sound/silence.wav -D 0 -d 0 -p 880
+    class late_start
+    user root
+    group audio
+    oneshot