Merge pull request #285 from AndyCGYan/fix-fp-lgs75g

Disable FP gestures for LG Stylo 7 5G
This commit is contained in:
Pierre-Hugues HUSSON 2021-12-03 13:30:15 +01:00 committed by GitHub
commit 723d9cb4f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,6 +268,12 @@ changeKeylayout() {
changed=true changed=true
fi fi
if getprop ro.product.vendor.device |grep -qi mfh505glm; then
cp /system/phh/empty /mnt/phh/keylayout/uinput-fpc.kl
chmod 0644 /mnt/phh/keylayout/uinput-fpc.kl
changed=true
fi
if [ "$changed" = true ]; then if [ "$changed" = true ]; then
mount -o bind /mnt/phh/keylayout /system/usr/keylayout mount -o bind /mnt/phh/keylayout /system/usr/keylayout
restorecon -R /system/usr/keylayout restorecon -R /system/usr/keylayout