Merge pull request #216 from siddhrsh/patch-2

Added Realme C3 brightness& audio jack
This commit is contained in:
Pierre-Hugues HUSSON 2020-12-12 11:02:37 +01:00 committed by GitHub
commit 93019de565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -331,6 +331,12 @@ if getprop ro.build.overlay.deviceid |grep -q -e CPH1859 -e CPH1861 -e RMX1811 -
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)" setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi fi
if getprop ro.build.overlay.deviceid |grep -iq -e RMX2020 -e RMX2027;then
setprop persist.sys.qcom-brightness 2047
setprop persist.sys.overlay.devinputjack true
setprop persist.sys.phh.fingerprint.nocleanup true
fi
if getprop ro.vendor.build.fingerprint | grep -iq \ if getprop ro.vendor.build.fingerprint | grep -iq \
-e xiaomi/beryllium/beryllium -e xiaomi/sirius/sirius \ -e xiaomi/beryllium/beryllium -e xiaomi/sirius/sirius \
-e xiaomi/dipper/dipper -e xiaomi/ursa/ursa -e xiaomi/polaris/polaris \ -e xiaomi/dipper/dipper -e xiaomi/ursa/ursa -e xiaomi/polaris/polaris \