Add hack to fix Bluetooth audio on LineageOS-based custom roms

thanks bgcngm
This commit is contained in:
AndroPlus 2018-08-18 12:38:58 +09:00 committed by Pierre-Hugues HUSSON
parent 7e339c7b92
commit 006a105a32

View File

@ -4,6 +4,9 @@ on post-fs
mount none /system/etc/usb_audio_policy_configuration.xml /vendor/etc/usb_audio_policy_configuration.xml bind mount none /system/etc/usb_audio_policy_configuration.xml /vendor/etc/usb_audio_policy_configuration.xml bind
export LD_CONFIG_FILE /system/etc/ld.config.${persist.sys.vndk}.txt export LD_CONFIG_FILE /system/etc/ld.config.${persist.sys.vndk}.txt
# HACK to fix Bluetooth audio on custom roms
mount none /vendor/lost+found /vendor/etc/audio bind
service phh_on_boot /system/bin/phh-on-boot.sh service phh_on_boot /system/bin/phh-on-boot.sh
oneshot oneshot
disabled disabled