Give Sony shutter/focus on all Sony devices

This commit is contained in:
Pierre-Hugues Husson 2022-02-21 18:01:13 -05:00
parent c9638e910c
commit 04cd1b8997

View File

@ -193,7 +193,7 @@ changeKeylayout() {
changed=true
fi
if getprop ro.vendor.build.fingerprint | grep -iq -E -e '^Sony/G834'; then
if getprop ro.vendor.build.fingerprint | grep -iq -E -e '^Sony/'; then
cp /system/phh/sony-gpio-keys.kl /mnt/phh/keylayout/gpio-keys.kl
chmod 0644 /mnt/phh/keylayout/gpio-keys.kl
changed=true