On Exynos 7870, use old ABI behaviour for RILd

This commit is contained in:
Pierre-Hugues Husson 2019-01-04 00:33:01 +01:00
parent 652a658f83
commit c36e655745
1 changed files with 6 additions and 0 deletions

View File

@ -232,4 +232,10 @@ if getprop ro.vendor.build.fingerprint | grep -qE -e ".*(crown|star)[q2]*lte.*"
done
fi
if getprop ro.hardware |grep -q samsungexynos7870;then
if [ "$vndk" -le 27 ];then
setprop persist.sys.phh.sdk_override /vendor/bin/hw/rild=27
fi
fi
mount -o bind /mnt/phh/empty_dir /vendor/etc/audio || true