On Allview V3 Viper, mnld (who handles GPS) crashes with double-mutex unlock. Fix this by forcing it to older SDK

This commit is contained in:
Pierre-Hugues Husson 2020-10-06 19:55:11 +02:00
parent 95bcf66d67
commit ab62dcf481
1 changed files with 4 additions and 0 deletions

View File

@ -809,3 +809,7 @@ fi
if grep -q /mnt/vendor/persist /vendor/etc/fstab.qcom;then
mount /mnt/vendor/persist /persist
fi
if [ "$vndk" -le 27 ] && [ -f /vendor/bin/mnld ];then
setprop persist.sys.phh.sdk_override /vendor/bin/mnld=26
fi