ROG Phone III has an additional C2 in vendor. It requires updated seccomp policy

This commit is contained in:
Pierre-Hugues Husson 2020-09-27 20:12:39 +02:00
parent c18b157a8d
commit bbee56d39f

View File

@ -795,3 +795,9 @@ if getprop ro.bionic.cpu_variant |grep -q kryo300;then
fi
resetprop ro.control_privapp_permissions log
if [ -f /vendor/etc/init/vendor.ozoaudio.media.c2@1.0-service.rc ];then
if [ "$vndk" -le 29 ]; then
mount /system/etc/seccomp_policy/mediacodec.policy /vendor/etc/seccomp_policy/codec2.vendor.base.policy
fi
fi