Don't empty /vendor/etc/audio when very full, when prop is changed too
This commit is contained in:
parent
475de0067d
commit
2f79cf8662
@ -129,7 +129,9 @@ if [ "$1" == "persist.sys.phh.caf.audio_policy" ];then
|
||||
fi
|
||||
else
|
||||
umount /vendor/etc/audio_policy_configuration.xml
|
||||
mount /mnt/phh/empty_dir /vendor/etc/audio
|
||||
if [ $(find /vendor/etc/audio -type f |wc -l) -le 3 ];then
|
||||
mount /mnt/phh/empty_dir /vendor/etc/audio
|
||||
fi
|
||||
fi
|
||||
restartAudio
|
||||
exit
|
||||
|
Loading…
Reference in New Issue
Block a user