Use dev/input for jack detection on Realme C11

This commit is contained in:
Pierre-Hugues Husson 2020-11-30 11:00:25 +01:00
parent f121aba763
commit 5607a9be21

View File

@ -780,6 +780,10 @@ if getprop ro.build.overlay.deviceid |grep -iq -e RMX1941 -e RMX1945 -e RMX1943
setprop persist.sys.phh.mainkeys 0 setprop persist.sys.phh.mainkeys 0
fi fi
if getprop ro.build.overlay.deviceid |grep -iq -e RMX2185;then
setprop persist.sys.overlay.devinputjack true
fi
resetprop ro.bluetooth.library_name libbluetooth.so resetprop ro.bluetooth.library_name libbluetooth.so
if getprop ro.vendor.build.fingerprint |grep -iq xiaomi/cepheus;then if getprop ro.vendor.build.fingerprint |grep -iq xiaomi/cepheus;then