ugly: vndk somehow replaces vendor files if both exist. this is especially problematic on libstagefright_foundation (found on CAF and Exynos devices)
This commit is contained in:
parent
1ba43f4ce5
commit
2f33d5286e
10
rw-system.sh
10
rw-system.sh
@ -437,4 +437,14 @@ if [ -f /system/phh/secure ];then
|
||||
setprop ctl.restart adbd
|
||||
fi
|
||||
|
||||
for abi in "" 64;do
|
||||
f=/vendor/lib$abi/libstagefright_foundation.so
|
||||
if [ -f "$f" ];then
|
||||
for vndk in 26 27 28;do
|
||||
mount "$f" /system/lib$abi/vndk-$vndk/libstagefright_foundation.so
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
setprop ro.product.first_api_level "$vndk"
|
||||
|
Loading…
Reference in New Issue
Block a user