Fix CAF audio policy on non-boot

This commit is contained in:
Pierre-Hugues Husson 2020-10-13 17:19:48 +02:00 committed by tboy1991
parent a266e770e8
commit 522048c7f3

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