Disable HWC presentOrValidate on vndk 26/27
This commit is contained in:
parent
7f176889ee
commit
7662a1675c
@ -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
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$vndk" -le 27 ];then
|
||||
setprop persist.sys.phh.no_present_or_validate true
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user