Update keylayout check
fix getting device POCO in build fingerprint.
This commit is contained in:
parent
bbc2268788
commit
809d83671f
@ -147,7 +147,7 @@ changeKeylayout() {
|
||||
fi
|
||||
|
||||
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
|
||||
cp /system/phh/empty /mnt/phh/keylayout/uinput-goodix.kl
|
||||
chmod 0644 /mnt/phh/keylayout/uinput-goodix.kl
|
||||
|
Loading…
Reference in New Issue
Block a user