Merge pull request #197 from kjssad/add-d2tw-rmx1941

Add RMX1941 DT2W fix
This commit is contained in:
Pierre-Hugues HUSSON 2020-07-02 18:41:20 +02:00 committed by GitHub
commit 016e9918fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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