Fix CAF audio policy on non-boot

This commit is contained in:
Pierre-Hugues Husson 2020-10-13 17:19:48 +02:00
parent ab62dcf481
commit 2515e7d58a

View File

@ -120,6 +120,7 @@ if [ "$1" == "persist.sys.phh.caf.audio_policy" ];then
fi fi
if [[ "$prop_value" == 1 ]];then if [[ "$prop_value" == 1 ]];then
umount /vendor/etc/audio
umount /vendor/etc/audio umount /vendor/etc/audio
mount /vendor/etc/audio/audio_policy_configuration.xml /vendor/etc/audio_policy_configuration.xml mount /vendor/etc/audio/audio_policy_configuration.xml /vendor/etc/audio_policy_configuration.xml
else else