Merge pull request #321 from mmtrt/fix-keylayout
Use Xiaomi's fingerprint keylayout also on poco devices
This commit is contained in:
commit
7a36effb45
@ -147,7 +147,7 @@ changeKeylayout() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if getprop ro.vendor.build.fingerprint | grep -iq \
|
if getprop ro.vendor.build.fingerprint | grep -iq \
|
||||||
-e poco/ -e redmi/ -e xiaomi/ ; then
|
-e poco/ -e POCO/ -e redmi/ -e xiaomi/ ; then
|
||||||
if [ ! -f /mnt/phh/keylayout/uinput-goodix.kl ]; then
|
if [ ! -f /mnt/phh/keylayout/uinput-goodix.kl ]; then
|
||||||
cp /system/phh/empty /mnt/phh/keylayout/uinput-goodix.kl
|
cp /system/phh/empty /mnt/phh/keylayout/uinput-goodix.kl
|
||||||
chmod 0644 /mnt/phh/keylayout/uinput-goodix.kl
|
chmod 0644 /mnt/phh/keylayout/uinput-goodix.kl
|
||||||
|
Loading…
Reference in New Issue
Block a user