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
parent e9855ca82d
commit 826784b4ae

View File

@ -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