Disable fingerprint "button" on Mi 8 SE as well

Reported at https://forum.xda-developers.com/showpost.php?p=77620503&postcount=591
This commit is contained in:
Pierre-Hugues Husson 2018-09-14 21:09:02 +02:00
parent 3f1fb0d20b
commit 463ca03eac
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ changeKeylayout() {
chmod 0644 /mnt/phh/keylayout/gpio_keys.kl /mnt/phh/keylayout/sec_touchscreen.kl
fi
if getprop ro.vendor.build.fingerprint |grep -q Xiaomi/polaris;then
if getprop ro.vendor.build.fingerprint |grep -iq -e xiaomi/polaris -e xiaomi/sirius;then
cp /system/phh/empty /mnt/phh/keylayout/uinput-goodix.kl
chmod 0644 /mnt/phh/keylayout/uinput-goodix.kl
changed=true