Disable libpdx_default_transport uncoditionally

This commit is contained in:
Myst33d 2020-02-20 22:28:35 +06:00 committed by GitHub
parent c198bdb1b6
commit caa9ad2e3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,11 +278,13 @@ for f in /vendor/lib/mtk-ril.so /vendor/lib64/mtk-ril.so /vendor/lib/libmtk-ril.
done done
if getprop ro.vendor.build.fingerprint | grep -iq -e iaomi/cactus -e iaomi/cereus; then if getprop ro.vendor.build.fingerprint | grep -iq -e iaomi/cactus -e iaomi/cereus; then
mount -o bind /system/phh/empty /vendor/lib/libpdx_default_transport.so
setprop debug.stagefright.omx_default_rank.sw-audio 1 setprop debug.stagefright.omx_default_rank.sw-audio 1
setprop debug.stagefright.omx_default_rank 0 setprop debug.stagefright.omx_default_rank 0
fi fi
mount -o bind /system/phh/empty /vendor/lib/libpdx_default_transport.so
mount -o bind /system/phh/empty /vendor/lib64/libpdx_default_transport.so
mount -o bind /system/phh/empty /vendor/overlay/SysuiDarkTheme/SysuiDarkTheme.apk || true mount -o bind /system/phh/empty /vendor/overlay/SysuiDarkTheme/SysuiDarkTheme.apk || true
mount -o bind /system/phh/empty /vendor/overlay/SysuiDarkTheme/SysuiDarkThemeOverlay.apk || true mount -o bind /system/phh/empty /vendor/overlay/SysuiDarkTheme/SysuiDarkThemeOverlay.apk || true