Some Pie vendor are also affected by minijail issue

This commit is contained in:
Pierre-Hugues Husson 2020-06-06 19:32:38 +02:00 committed by tboy1991
parent dd41563dac
commit dcca8cba17

View File

@ -14,3 +14,10 @@ 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/lib64/vndk-27/libminijail.so /vendor/lib64/libminijail_vendor.so
mount /system/lib/vndk-27/libminijail.so /vendor/lib/libminijail_vendor.so mount /system/lib/vndk-27/libminijail.so /vendor/lib/libminijail_vendor.so
fi fi
if [ "$vndk" = 28 ] && getprop |grep init.svc | grep media |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
mount /system/lib64/vndk-27/libminijail.so /system/lib64/vndk-28/libminijail.so
mount /system/lib/vndk-27/libminijail.so /system/lib/vndk-28/libminijail.so
fi