Merge pull request #289 from krapk/android-12.0

Disable FP gestures for Motorola One Fusion Plus
This commit is contained in:
Pierre-Hugues HUSSON 2021-12-09 23:03:12 +01:00 committed by GitHub
commit 63ef13a2f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -274,6 +274,13 @@ changeKeylayout() {
changed=true
fi
if getprop ro.vendor.build.fingerprint | grep -iq -e motorola/liber; then
cp /system/phh/empty /mnt/phh/keylayout/uinput_nav.kl
chmod 0644 /mnt/phh/keylayout/uinput_nav.kl
changed=true
fi
if [ "$changed" = true ]; then
mount -o bind /mnt/phh/keylayout /system/usr/keylayout
restorecon -R /system/usr/keylayout