init.qcom.audio.sh: Remove creating symlinks for ANC and MBHC
The new Android release does not support creating symlink in init scripts. Do not make symlinks during init scripts, they will be made at compile time. Change-Id: I70a34ea6f0c3bd228307d9b47dce5b485c4cab5c
This commit is contained in:
parent
fb35b2a162
commit
5224ed1419
|
@ -115,41 +115,6 @@ case "$btsoc" in
|
|||
;;
|
||||
esac
|
||||
|
||||
case "$target" in
|
||||
msm8974*)
|
||||
|
||||
rm -rf /system/etc/firmware/wcd9320/wcd9320_anc.bin
|
||||
rm -rf /system/etc/firmware/wcd9320/wcd9320_mbhc.bin
|
||||
mkdir -p /system/etc/firmware/wcd9320
|
||||
ln -s /data/misc/audio/wcd9320_anc.bin /system/etc/firmware/wcd9320/wcd9320_anc.bin
|
||||
ln -s /data/misc/audio/mbhc.bin /system/etc/firmware/wcd9320/wcd9320_mbhc.bin
|
||||
ln -s /data/misc/audio/wcd9320_mad_audio.bin /system/etc/firmware/wcd9320/wcd9320_mad_audio.bin
|
||||
;;
|
||||
|
||||
msm8226*)
|
||||
|
||||
rm -rf /system/etc/firmware/wcd9306/wcd9306_anc.bin
|
||||
rm -rf /system/etc/firmware/wcd9306/wcd9306_mbhc.bin
|
||||
mkdir -p /system/etc/firmware/wcd9306
|
||||
ln -s /data/misc/audio/wcd9320_anc.bin /system/etc/firmware/wcd9306/wcd9306_anc.bin
|
||||
ln -s /data/misc/audio/mbhc.bin /system/etc/firmware/wcd9306/wcd9306_mbhc.bin
|
||||
;;
|
||||
|
||||
msm8960*)
|
||||
;&
|
||||
msm8660*)
|
||||
|
||||
rm -f /system/etc/firmware/wcd9310/wcd9310_anc.bin
|
||||
rm -f /system/etc/firmware/wcd9310/wcd9310_mbhc.bin
|
||||
mkdir -p /system/etc/firmware/wcd9310
|
||||
ln -s /data/misc/audio/wcd9310_anc.bin /system/etc/firmware/wcd9310/wcd9310_anc.bin
|
||||
ln -s /data/misc/audio/mbhc.bin /system/etc/firmware/wcd9310/wcd9310_mbhc.bin
|
||||
;;
|
||||
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
setprop qcom.audio.init complete
|
||||
exit 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue