Add RMX1941 DT2W fix

This commit is contained in:
kjssad 2020-07-02 16:28:48 +00:00 committed by GitHub
parent edd1355309
commit 4134ef2653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -150,9 +150,11 @@ changeKeylayout() {
changed=true
fi
if getprop ro.build.overlay.deviceid |grep -q -e RMX1931 -e CPH1859 -e CPH1861;then
if getprop ro.build.overlay.deviceid |grep -q -e RMX1931 -e RMX1941 -e CPH1859 -e CPH1861;then
cp /system/phh/oppo-touchpanel.kl /mnt/phh/keylayout/touchpanel.kl
cp /system/phh/oppo-touchpanel.kl /mnt/phh/keylayout/mtk-tpd.kl
chmod 0644 /mnt/phh/keylayout/touchpanel.kl
chmod 0644 /mnt/phh/keylayout/mtk-tpd.kl
changed=true
fi