diff --git a/phh-on-data.sh b/phh-on-data.sh index 44a5543..371fdfb 100644 --- a/phh-on-data.sh +++ b/phh-on-data.sh @@ -9,3 +9,8 @@ fi if getprop persist.sys.phh.caf.media_profile |grep -q true;then setprop media.settings.xml "/vendor/etc/media_profiles_vendor.xml" 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