sm6375-common: Set ro.media.xml_variant.profiles to choose media profiles

This was introduced with [1] and allows to choose target specific media
profiles without caf changes to frameworks/av. Unset media.settings.xml
so that the new property gets respected and drop copying the lahaina
config as media_profiles_vendor since we don't need a fallback anymore.

[1]: eaac82f33f#

Change-Id: I7ec306bf3dd595c09308ed26c9d3a6db8490c7f0
This commit is contained in:
Arian 2022-02-26 13:10:03 +01:00 • committed by Michael Bestas
commit 54ecc821c6
No known key found for this signature in database

View file

@ -415,6 +415,7 @@ on property:vendor.netflix.bsp_rev=*
on property:vendor.media.target_variant=*
setprop ro.media.xml_variant.codecs ${vendor.media.target_variant}
setprop ro.media.xml_variant.codecs_performance ${vendor.media.target_variant}
setprop ro.media.xml_variant.profiles ${vendor.media.target_variant}
service qcom-c_core-sh /vendor/bin/init.qcom.class_core.sh
class core