Merge pull request #285 from AndyCGYan/fix-fp-lgs75g
Disable FP gestures for LG Stylo 7 5G
This commit is contained in:
commit
723d9cb4f8
@ -268,6 +268,12 @@ changeKeylayout() {
|
||||
changed=true
|
||||
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
|
||||
mount -o bind /mnt/phh/keylayout /system/usr/keylayout
|
||||
restorecon -R /system/usr/keylayout
|
||||
|
Loading…
Reference in New Issue
Block a user