Disable FP gestures for Motorola One Fusion Plus
This commit is contained in:
parent
f96d4cb317
commit
9b9b7794e7
@ -274,6 +274,14 @@ changeKeylayout() {
|
|||||||
changed=true
|
changed=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if getprop ro.vendor.build.fingerprint | grep -iq -e motorola/liber; then
|
||||||
|
if [ ! -f /mnt/phh/keylayout/uinput_nav.kl ]; then
|
||||||
|
cp /system/phh/empty /mnt/phh/keylayout/uinput_nav.kl
|
||||||
|
chmod 0644 /mnt/phh/keylayout/uinput_nav.kl
|
||||||
|
changed=true
|
||||||
|
fi
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user