Update keylayout check

fix getting device POCO in build fingerprint.
This commit is contained in:
Taqi Raza 2022-07-30 11:45:32 +05:00
parent bbc2268788
commit 809d83671f
No known key found for this signature in database
GPG Key ID: 9D9E5BFAB7469098
1 changed files with 1 additions and 1 deletions

View File

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