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