Disable FP gestures for LG Stylo 7 5G

Change-Id: Ib1013963d41997e6ba5b6a645355beb8637d6f01
This commit is contained in:
Andy CrossGate Yan 2021-12-03 12:25:37 +00:00 committed by Pierre-Hugues Husson
parent 7071ee8fbf
commit e549a28273
1 changed files with 6 additions and 0 deletions

View File

@ -253,6 +253,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