Remove unnecessary if
This commit is contained in:
parent
9b9b7794e7
commit
4babb2da95
@ -275,12 +275,11 @@ changeKeylayout() {
|
||||
fi
|
||||
|
||||
if getprop ro.vendor.build.fingerprint | grep -iq -e motorola/liber; then
|
||||
if [ ! -f /mnt/phh/keylayout/uinput_nav.kl ]; then
|
||||
|
||||
cp /system/phh/empty /mnt/phh/keylayout/uinput_nav.kl
|
||||
chmod 0644 /mnt/phh/keylayout/uinput_nav.kl
|
||||
changed=true
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$changed" = true ]; then
|
||||
mount -o bind /mnt/phh/keylayout /system/usr/keylayout
|
||||
|
Loading…
Reference in New Issue
Block a user