Set a property to find focaltech gesture node

This commit is contained in:
Pierre-Hugues Husson 2020-10-26 22:46:16 +01:00
parent d1a638f4f8
commit 28b4d559a6

View File

@ -816,6 +816,10 @@ if grep -q /mnt/vendor/persist /vendor/etc/fstab.qcom;then
mount /mnt/vendor/persist /persist mount /mnt/vendor/persist /persist
fi fi
for f in $(find /sys -name fts_gesture_mode);do
setprop persist.sys.phh.focaltech_node "$f"
done
if [ "$vndk" -le 27 ] && [ -f /vendor/bin/mnld ];then if [ "$vndk" -le 27 ] && [ -f /vendor/bin/mnld ];then
setprop persist.sys.phh.sdk_override /vendor/bin/mnld=26 setprop persist.sys.phh.sdk_override /vendor/bin/mnld=26
fi fi