Disable HWC presentOrValidate on vndk 26/27

This commit is contained in:
Pierre-Hugues Husson 2020-09-30 22:38:28 +02:00
parent 7f176889ee
commit 7662a1675c

View File

@ -801,3 +801,7 @@ if [ -f /vendor/etc/init/vendor.ozoaudio.media.c2@1.0-service.rc ];then
mount /system/etc/seccomp_policy/mediacodec.policy /vendor/etc/seccomp_policy/codec2.vendor.base.policy mount /system/etc/seccomp_policy/mediacodec.policy /vendor/etc/seccomp_policy/codec2.vendor.base.policy
fi fi
fi fi
if [ "$vndk" -le 27 ];then
setprop persist.sys.phh.no_present_or_validate true
fi