Add property to use CAF vendor media_profiles

This is controlled through persist.sys.phh.caf.media_profile
system_server loads this file, so it requires a reboot to apply
This commit is contained in:
Pierre-Hugues Husson 2020-05-03 18:01:26 +02:00
parent 80b949241d
commit bad4131180

View File

@ -5,3 +5,7 @@ if getprop persist.sys.phh.no_vendor_overlay |grep -q true;then
mount /mnt/phh/empty_dir/ /$part/overlay
done
fi
if getprop persist.sys.phh.caf.media_profile |grep -q true;then
setprop media.settings.xml "/vendor/etc/media_profiles_vendor.xml"
fi