Set a property to find focaltech gesture node
This commit is contained in:
parent
d1a638f4f8
commit
28b4d559a6
@ -816,6 +816,10 @@ if grep -q /mnt/vendor/persist /vendor/etc/fstab.qcom;then
|
||||
mount /mnt/vendor/persist /persist
|
||||
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
|
||||
setprop persist.sys.phh.sdk_override /vendor/bin/mnld=26
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user