Disable fingerprint sensor input from Doogee S88 Pro
See https://github.com/phhusson/treble_experimentations/issues/2204
This commit is contained in:
parent
eb24d77380
commit
50903fde85
@ -287,6 +287,12 @@ changeKeylayout() {
|
|||||||
changed=true
|
changed=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if getprop ro.vendor.build.fingerprint | grep -iq DOOGEE/S88Pro;then
|
||||||
|
cp /system/phh/empty /mnt/phh/keylayout/sf-keys.kl
|
||||||
|
chmod 0644 /mnt/phh/keylayout/sf-keys.kl
|
||||||
|
changed=true
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$changed" = true ]; then
|
if [ "$changed" = true ]; then
|
||||||
mount -o bind /mnt/phh/keylayout /system/usr/keylayout
|
mount -o bind /mnt/phh/keylayout /system/usr/keylayout
|
||||||
restorecon -R /system/usr/keylayout
|
restorecon -R /system/usr/keylayout
|
||||||
|
Loading…
Reference in New Issue
Block a user