Detect looping mediacodec earlier
This commit is contained in:
parent
02c9b63356
commit
65365b3f57
@ -9,3 +9,8 @@ fi
|
|||||||
if getprop persist.sys.phh.caf.media_profile |grep -q true;then
|
if getprop persist.sys.phh.caf.media_profile |grep -q true;then
|
||||||
setprop media.settings.xml "/vendor/etc/media_profiles_vendor.xml"
|
setprop media.settings.xml "/vendor/etc/media_profiles_vendor.xml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$vndk" = 27 ] && getprop init.svc.mediacodec |grep -q restarting;then
|
||||||
|
mount /system/lib64/vndk-27/libminijail.so /vendor/lib64/libminijail_vendor.so
|
||||||
|
mount /system/lib/vndk-27/libminijail.so /vendor/lib/libminijail_vendor.so
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user